Confederate General Robert E. Lee commanded the Army of Northern Virginia. He was trying to protect Richmond from another Union army on the Peninsula. The Union Army of the Potomac had just tried to capture Richmond a few weeks before but failed. Lee would be outnumbered if the two Union armies united. He moved his army north to fight Pope.