The Anti-Masonic Party was a political party founded in 1828 in opposition to Freemasonry. Arising out of the anti-Masonic movement ignited in 1826 when William Morgan disappeared, the party's movement was based on the suspicion of the secrecy of Freemasons. Anti-Masonics made strong gains in New York in 1828, when their popular influence among the poor earned them local state office seats. They were early on led by William Seward, a politician who later became Secretary of State under Lincoln's presidency. The anti-Masonic party eventually dissolved during the late 1830s, as many members left to join the Whig Party in opposition to Andrew Jackson.