Detailed Instructions: Generate a question which can yield the answer mentioned in the input. Generated question must be answered by the answer provided in input, without using any extra knowledge.
Q: Context : Captain Sir William Hoste, 1st Baronet KCB RN (26 August 1780 -- 6 December 1828), Royal Navy captain, was the son of Dixon Hoste, rector of Godwick and Tittleshall in Norfolk.
Answer : Royal Navy
A:
What army was William Hoste a part of?