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 John R. Jones, Alexander Lawton, A.P. Hill, and D.H. Hill. The Northern Virginia and Maryland Campaigns still showed numerous defects in the organization and leadership of the Army of Northern Virginia, particularly the high rate of straggling and desertion during the invasion of Maryland. Lee had fewer than 40,000 men on the field at Antietam, the smallest his army would be until the Appomattox Campaign, and the battle was largely fought on autopilot with minimal involvement by the senior officers in the army. During the Fredericksburg Campaign, Longstreet had the divisions of Anderson, Hood, McLaws, Ransom, and George Pickett, who