Task: Question Generation
Input (English): Context : Nathaniel Fanning (31 May 1755 -- 30 September 1805) was an officer in the Continental Navy and later the United States Navy, who served a board Bonhomme Richard during its 1779 battle with HMS Serapis. 
Subject : Nathaniel Fanning 
Relation : military branch
Output (English): What military branch did Nathaniel Fanning belong to?