Johnston had been wounded during the battle, leading Jefferson Davis to name Robert E. Lee to command the Army of Northern Virginia. Lee worked on improving the administration over the next few weeks and planning on offensive. On June 25, McClellan struck first, sending a division under Joseph Hooker advancing through Seven Pines. Huger responded with an attack by the brigade of Ambrose Wright at King's School House and Wright sent to Mahone for help. Near the end of the day, the 41st Virginia surprised Hooker's left flank and McClellan gave orders for Hooker's men to be withdrawn.