Task: Question Generation
Input (English): Context : Andrew Sterett (January 27, 1778 -- June 9, 1807) was an officer in the United States Navy during the nation's early days. 
Answer : United States Navy
Output (English): With which military branch did Andrew Sterett hold a command?