Instructions: Generate a correct and concise answer for the question based on the words in the context.
Input: Context : Lieutenant-General William Staveley CB (29 July 1784 -- 4 April 1854) was a British Army officer who fought in the Peninsular War and later became Commander and Lieutenant Governor of Hong Kong.
Question : What war did William Staveley fight in?
Output:
Peninsular War