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
General officers in the Confederate States Army combat, to be the senior general officer in the CSA. That seniority strained the relationship between Joseph E. Johnston and Jefferson Davis. Johnston considered himself the senior officer in the Confederate States Army and resented the ranks that President Davis had authorized. However, his previous position in the U.S. Army was staff, not line, which was evidently a criterion for Davis regarding establishing seniority and rank in the subsequent Confederate States Army. On February 17, 1864, legislation was passed by the Congress to allow President Davis to appoint an officer to command the Trans-Mississippi Department in the Far West, with