Detailed Instructions: In this task, you are given a context paragraph, a question based on that and corresponding answer of a question. Your task is to generate supporting fact/knowledge from context paragraph which helps in answering a given question.
Q: Daniel Goodenow (October 30, 1793 October 7, 1863) was an American politician and jurist from Maine. Goodenow was born in Henniker, New Hampshire and was primarily self-educated, though he did graduate from Dartmouth College. He studied law under future U.S. Senator John Holmes and was admitted to the York County, Maine Bar in 1817. Residing in Alfred, Maine, Goodenow served three one year terms in the Maine House of Representatives (1827, 1828 and 1830), which included a term as Speaker of the Maine House of Representatives. He was a member of the National Republican Party while in the Legislature. In 1831, Goodenow was the Whig Party candidate for Governor. Unsuccessful, he ran again in 1832 and 1833. In 1838 and 1841, Goodenow served as Maine Attorney General. Question: What was the man whom Daniel Goodenow studied law under noted for his involvement in? Answer: Treaty of Ghent
A:
He studied law under future U.S. Senator John Holmes and was admitted to the York County, Maine Bar in 1817.