The Battle of Gettysburg was a pivotal clash in the American Civil War, fought from July 1 to July 3, 1863, in and around the town of Gettysburg, Pennsylvania. It marked a turning point in the war, as the Union Army's victory ended General Robert E. Lee's second invasion of the North and began a shift in momentum toward the Union forces.