 In November 1850, he was appointed Engineer-in-Chief, attached to the Bureau of Construction, Equipment and Repair of the United States Navy.During the American Civil War, he raised the 50th New York Engineer Regiment, commanding it from 1861 to 1863.He built fortifications and bridges for the Army of the Potomac.