It is a popular, but mistaken, belief that John Pope commanded the Army of the Potomac in the summer of 1862 after McClellan's unsuccessful Peninsula Campaign. On the contrary, Pope's army consisted of different units, and was named the Army of Virginia. During the time that the Army of Virginia existed, the Army of the Potomac was headquartered on the Virginia Peninsula, and then outside Washington, D.C., with McClellan still in command, although three corps of the Army of the Potomac were sent to northern Virginia and were under Pope's operational control during the Northern Virginia Campaign.