Task: Question Understanding
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. 
Question : With which military branch did Andrew Sterett hold a command?
Output (English): military branch