Senator Lewis Cass won much of the remaining vote, and he gradually picked up support on subsequent ballots until the convention adjourned for the day. When the convention reconvened and held another ballot, James K. Polk, who shared many of Van Buren's views but favored immediate annexation, won 44 votes. On the ninth and final ballot of the convention, Van Buren's supporters withdrew the former president's name from consideration, and Polk won the Democratic presidential nomination. Although angered that his opponents had denied him in the nomination, Van Buren endorsed Polk in the interest of party unity. He also convinced Silas Wright to run for Governor of New York so that the popular Wright could help boost Polk in the state. Wright narrowly defeated Whig nominee Millard Fillmore in the 1844 gubernatorial election, and Wright's victory in the state helped Polk narrowly defeat Henry Clay in the 1844 presidential election.