[17]

State politics
By 1824, New Hampshire was a hotbed of partisanship, with figures such as Woodbury and Isaac Hill laying the groundwork for a party of Democrats in support of General Andrew Jackson. They opposed the established Federalists (and their successors, the National Republicans), who were led by sitting President John Quincy Adams. The work of the New Hampshire Democratic Party came to fruition in March 1827, when their pro-Jackson nominee, Benjamin Pierce, won the support of the pro-Adams faction and was elected governor of New Hampshire essentially unopposed. While the younger Pierce had set out to build a career as an attorney, he was fully drawn into the realm of politics as the 1828 presidential election between Adams and Jackson approached. In the state elections held in March 1828, the Adams faction withdrew their support of Benjamin Pierce, voting him out of office,[note 5] but Franklin Pierce won his first election, as Hillsborough town moderator, a position to which he would be elected for six consecutive years.