Confederate Army of the Shenandoah Harpers Ferry, Virginia (modern day West Virginia). To organize and train the companies, Virginia state commander Robert E. Lee initially appointed Thomas J. Jackson to command the post. Jackson formed five regiments of infantry and a battery of artillery from the various companies, forming the basis of the Stonewall Brigade. On May 15, Joseph E. Johnston replaced Jackson as commander of Harpers Ferry and continued to receive additional regiments from throughout the Confederacy. He would eventually have four brigades of infantry and an independent regiment of cavalry, the 1st Virginia Cavalry commanded by J. E. B. Stuart. In mid-June, forces
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