Task: Question Generation
Input (English): Context : James Chatham Duane (June 10, 1824 -- December 8, 1897) was an engineering officer in the Union Army during the American Civil War, being the Chief Engineer of the Army of the Potomac. 
Answer : Union Army
Output (English): With which military branch did James Chatham Duane serve with?