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