After the threat to Richmond was repulsed with the withdrawal of McClellan's army from the Peninsula, Confederate General Robert E. Lee, who had since replaced Joseph Johnston after the latter's wounding at Seven Pines, reorganized his Army of Northern Virginia into two "wings" or "commands," under the command of Major General Longstreet (Right Wing) and Major General Thomas J. "Stonewall" Jackson (Left Wing). Hunton's Brigade was placed in Longstreet's Command in the division commanded by Brigadier General James Kemper.