Instructions: Generate a correct and concise answer for the question based on the words in the context.
Input: 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.
Question : What army was William Hoste a part of?
Output:
Royal Navy