Union president Abraham Lincoln formed the Army of Virginia near Washington, D.C. in July 1862. He put Major General John Pope in command of the army. Lincoln wanted Pope to attack the Confederate capital of Richmond, Virginia.