Task: Question Generation
Input (English): Context : John Percival known as Mad Jack Percival (3 April 1779 -- 7 September 1862) was a celebrated officer in the United States Navy during the Quasi-War with France, the War of 1812, the campaign against West Indies pirates, and the Mexican-American War. 
Answer : United States Navy
Output (English): With which military branch did John Percival serve with?