Task: Question Understanding
Input (English): Context : His grandfather, William Cogswell was a Surgeon's mate in the Revolutionary War who practiced medicine in Atkinson, New Hampshire, and gave land for the Atkinson Academy. 
Question : What organization was William Cogswell involved with?
Output (English): military branch