 And in the end, Union forces would hold the Confederates off and win the battle, causing Lee to retreat his army back to Virginia. This victory, coupled with the Union victory at Vicksburg, Mississippi on July 4th, would spell the beginning of the end for the Confederacy. Following the battle, the 2,400 residents of Gettysburg, Pennsylvania would face tending to thousands of dead and wounded from both sides.