 Lee's army then moved into Pennsylvania. On July 1, advanced units of the forces made contact with one another just outside of Gettysburg. The sound of battle attracted other units and by noon the conflict was raging. The Confederates applied pressure all along the Union front and they slowly drove the Yankees through the town.