Instructions: Generate a correct and concise answer for the question based on the words in the context.
Input: Context : Duncan McMartin Jr. (1776 -- October 3, 1837) was an American politician from New York.
Question : What was Duncan McMartin Jr.'s occupation?
Output:
politician