Question: William Moody, was an American politician from Maine, he also served at the same time as Sheriff of York County, York County is the most southwestern county of the state of Maine located along New Hampshire's eastern border, in the which country?
Sentence (from "York County, Maine"): York County is the most southwestern county of the state of Maine located along New Hampshire's eastern border in the United States.
Relevant evidence: Yes