He won the 1836 presidential election with the endorsement of popular outgoing President Andrew Jackson and the organizational strength of the Democratic Party. He lost his 1840 reelection bid to Whig Party nominee William Henry Harrison, thanks in part to the poor economic conditions surrounding the Panic of 1837. He was elected to the United States Senate in 1821 and supported William H. Crawford in the 1824 presidential election. John Quincy Adams won the 1824 election and Van Buren opposed his proposals for federally funded internal improvements and other measures. Van Buren's major political goal was to re-establish a two-party system with partisan differences based on ideology rather than personalities or sectional differences, and he supported Jackson's candidacy against Adams in the 1828 presidential election with this goal in mind. Van Buren ran ahead of Jackson, winning the state by 30,000 votes compared to a margin of 5,000 for Jackson. Nationally, Jackson defeated Adams by a wide margin, winning nearly every state outside of New England.
William Henry Harrison,
William Henry Harrison,