During the morning of the battle's 2nd day (July 2), Army of the Potomac commander Maj. Gen. George G. Meade shifted units to receive an expected Confederate attack on his positions. The II Corps was placed in the center of Cemetery Ridge, with Brig. Gen. Alexander Hays's division on the corps' right, John Gibbon's division in the center around the Angle, and John C. Caldwell's division on the left, adjacent to the III Corps; Robinson's division of the I Corps was placed in reserve behind the XI Corps. The V Corps was formed in reserve behind the II Corps. In the late afternoon, the end of the Confederate Maj. Gen. Lafayette McLaws's assault drove portions of Maj. Gen. Daniel Sickles's III Corps line back to the southern end of Cemetery Ridge, and Brig. Gen. Ambrose Wright's Confederate brigade temporarily captured the southern end of the Angle before being driven back to Seminary Ridge by the Philadelphia Brigade.