Second Corps, Army of Northern Virginia General Gustavus W. Smith. This unit was also known as the Second Division and was eventually subsumed into general Robert E. Lee's Army of Northern Virginia as a reserve in Maj. Gen. D. H. Hill's Division. When Lee was able to reorganize his army after finishing battles with Union Maj. Gen. George B. McClellan on the peninsula, he created this corps under the command of Lieutenant General Jackson, along with a sister corps under Lt. Gen. James Longstreet. Lee's reorganization was based on his evaluation of the performance of his division commanders during the Seven Days Campaign. General Jackson commanded
Army of Northern Virginia previous name, the Confederate Army of the Potomac) from June 20 to July 20, 1861. His forces consisted of six brigades, with various militia and artillery from the former Department of Alexandria. During his command, Gen. Beauregard is noted for creating the battle flag of the army, which came to be the primary battle flag for all corps and forces under the Army of Northern Virginia. The flag was designed due to confusion during battle between the Confederate "Stars and Bars" flag and the flag of the United States. Beauregard continued commanding these troops as the new First Corps under