 Adams, who believed that Polk was seeking to wage an offensive to expand slavery, was one of the 14 dissenting votes.After the start of the war, he supported the Wilmot Proviso, an unsuccessful legislative proposal that would have banned slavery in any territory ceded by Mexico.After 1846, ill health increasingly affected Adams, but he continued to oppose the Mexican–American War until his death in 1848.