<human>:  When did the battle of Gettysburg take place?
<bot>: The Battle of Gettysburg took place from July 1st to July 3rd, 1863. The Battle of Gettysburg was the largest battle of the American Civil War, and the turning point of the war. The Union Army of the Potomac under the command of General George Meade, and the Confederate Army of Northern Virginia under the command of General Robert E. Lee, fought each other in Pennsylvania. The battle ended with the Confederates being defeated and Lee's army retreating southward.