Teacher:Generate a correct and concise answer for the question based on the words in the context.
Teacher: Now, understand the problem? Solve this instance: 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?
Student:
United States Navy