They battle of Gettysburg squashed a big hole in the confederates offenses making them, after three days, retreat across the Potomac river. The confederates made it as far as Gettysburg PA
The two battles that coincidentally happened at the same moment, although far apart - Gettysburg in the East, and Vicksburg (probably the key event) in the West.