 He then became chief topographical engineer under General George B. McClellan in the Army of the Potomac.His maps were used on many Virginia battlefields.In 1862, as brigadier general of volunteers, he led the defense of Washington, D.C., on its Virginia side.