The first day of the Battle of Gettysburg during the American Civil War took place on July 1, 1863, and began as an engagement between isolated units of the Army of Northern Virginia under Confederate General Robert E. Lee and the Army of the Potomac under Union Maj. Gen. George G. Meade. It soon escalated into a major battle which culminated in the outnumbered and defeated Union forces retreating to the high ground south of Gettysburg, Pennsylvania. The first-day battle proceeded in three phases as combatants continued to arrive at the battlefield. In the morning, two brigades of Confederate Maj. Gen. Henry Heth's division (of Lt. Gen. A.P. Hill's Third Corps) were delayed by dismounted Union cavalrymen under Brig. Gen. John Buford. As infantry reinforcements arrived under Maj. Gen. John F. Reynolds of the Union I Corps, the Confederate assaults down the Chambersburg Pike were repulsed, although Gen. Reynolds was killed. By early afternoon, the Union XI Corps, commanded by Major General Oliver Otis Howard, had arrived, and the Union position was in a semicircle from west to north of the town. The Confederate Second Corps under Lt. Gen. Richard S. Ewell began a massive assault from the north, with Maj. Gen. Robert E. Rodes's division attacking from Oak Hill and Maj. Gen. Jubal A. Early's division attacking across the open fields north of town. The Union lines generally held under extremely heavy pressure, although the salient at Barlow's Knoll was overrun. The third phase of the battle came as Rodes renewed his assault from the north and Heth returned with his entire division from the west, accompanied by the division of Maj. Gen. W. Dorsey Pender. Heavy fighting in Herbst's Woods (near the Lutheran Theological Seminary) and on Oak Ridge finally caused the Union line to collapse. Some of the Federals conducted a fighting withdrawal through the town, suffering heavy casualties and losing many prisoners; others simply retreated. They took up good defensive positions on Cemetery Hill and waited for additional attacks. Despite discretionary orders from Robert E. Lee to take the heights "if practicable," Richard Ewell chose not to attack. Historians have debated ever since how the battle might have ended differently if he had found it practicable to do so. Background Military situation Opposing forces Union Confederate Morning Defense by Buford's cavalry On the morning of July 1, Union cavalry in the division of Brigadier General John