Task: Question Generation
Input (English): Context : Joseph Tarbell (about 1780 -- 24 November 1815) was an officer in the United States Navy during the First Barbary War and the War of 1812. 
Answer : United States Navy
Output (English): With which military branch did Joseph Tarbell serve with?