On May 1, Stonewall Jackson found two divisions of Confederates at Zoan Church, fortifying a ridge. He ordered them to drop their shovels and pick up their rifles and move toward the Union soldiers to attack. The Union army had just decided to move forward again and had not expected any Confederate resistance. Hooker ordered his soldiers back and had them form defensive positions in the wilderness. On the morning of May 2, Jackson moved his corps against the Union left flank. There was fighting on and off all day. At 5:20 p.m., Jackson attacked the Union's XI Corps. The Federals counterattacked until darkness ended the fighting. That night, Jackson was making a night reconnaissance with one of his staff officers when he was mistakenly shot by his own soldiers. He died 8 days later from pneumonia after losing his left arm. General J.E.B. Stuart took over temporary command of Jackson's Corps.