Around 1834, the Anti-Masonic Party began a rapid disintegration with some of its members helping to establish the new Whig Party and others migrating to the Democratic Party.
https://www.u-s-history.com/pages/h271.html
The Anti-Masonic Party was the original third party to be active on the national scene. Popular opinion in America generally opposed secret organizations, but Freemasonry largely escaped this scrutiny because so many prominent citizens were members. Exemption from criticism ended for the Masons in 1826. In that year a bricklayer from Batavia, New York, William Morgan, disappeared. He had formerly been a Mason and was on the verge of publishing an exposé of Masonic secrets.
https://archive.org/details/antimasonicalman1830gidd/page/12/mode/2up