Definition: Generate a correct and concise answer for the question based on the words in the context.
Input: Context : Field Marshal Richard Boyle, 2nd Viscount Shannon PC (1675 -- 20 December 1740) was a British military officer and statesman.
Question : What was Richard Boyle, 2nd Viscount Shannon's occupation?
Output:
officer