Task: Question Understanding
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. 
Question : With which military branch did John Percival serve with?
Output (English): military branch