Gustavus Woodson Smith a major general on September 19, he served in Northern Virginia as a divisional and "wing" commander, and fought in the Battle of Seven Pines near Richmond during the Peninsula Campaign. On May 31, 1862, Smith briefly took command of the Army of Northern Virginia after Gen. Joseph E. Johnston was wounded at Seven Pines, due to his being the senior major general in Johnston's army. However, Jefferson Davis replaced him with Robert E. Lee the following day, June 1. On June 2, Smith became ill and took a leave of absence to recuperate. In late August, Smith returned and
Army of Northern Virginia and James Longstreet as division commanders. Beauregard quarreled with Johnston and was transferred to the Western theater over the winter months. Jackson was sent to the Shenandoah Valley in October 1861, initially with his own old Stonewall Brigade and later with two other brigades from Western Virginia. Several newly arrived brigades were added to Johnston's army in late 1861-early 1862. When the Peninsula Campaign began, Johnston took his army down to the Richmond environs where it was merged with several smaller Confederate commands, including a division led by D.H. Hill as well as Benjamin Huger's Department of Norfolk, John Magruder's