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