The Battle of Gettysburg from July 1-3, 1863 was a major turning point in the American Civil War. It began when Confederate troops searching for shoes encountered Union troops in Gettysburg, Pennsylvania, leading to three days of intense fighting. On the third and final day, Confederate General Pickett led Pickett's Charge, a massive but failed infantry assault on the center of the Union lines. The battle resulted in over 50,000 casualties total and halted the Confederacy's invasion of the North. The Union victory at Gettysburg stopped Confederate momentum and was a key factor in the Union's eventual triumph in the war.