On July 2, Confederate General Robert E. Lee ordered attacks on both ends of the Union line. Lt. Gen. James Longstreet attacked with his First Corps on the Union left (Little Round Top, Devil's Den, Wheatfield). Lt. Gen. Richard S. Ewell and the Second Corps were assigned the mission of launching a simultaneous demonstration against the Union right, a minor attack that was intended to distract and pin down the Union defenders against Longstreet. Ewell was to exploit any success his demonstration might achieve by following up with a full-scale attack at his discretion.