Tyler was never really a good fit for the Whig Party. He joined the party to oppose President Andrew Jackson, a Democrat whom he viewed as dangerous. But, Tyler advocated states’ rights positions, while the Whig Party generally advocated an expansion of federal power. Tyler angered Henry Clay and other leading Whigs by opposing the creation of a national bank. Twice, Tyler vetoed bills supporting its creation. After the second veto, Tyler’s entire Cabinet—except for Secretary of State Daniel Webster—resigned in protest.