After building a successful law practice in Tennessee, Polk was elected to the state legislature (1823) and then to the United States House of Representatives in 1825, becoming a strong supporter of Andrew Jackson. After serving as chairman of the Ways and Means Committee, he became Speaker in 1835, the only president to have been Speaker. Polk left Congress to run for governor of Tennessee; he won in 1839, but lost in 1841 and 1843. James Knox Polk was born on November 2, 1795, in a log cabin in Pineville, North Carolina. He was the first of 10 children born into a family of farmers. His mother Jane named him after her father, James Knox. With Jackson's support, Polk ran for Speaker against fellow Tennessean John Bell, Calhoun disciple Richard Henry Wilde, and Joel Barlow Sutherland of Pennsylvania. After ten ballots, Bell, who had the support of many opponents of the administration, defeated Polk.