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. The bill passed Congress in 1832, but Jackson vetoed it and Congress failed to override the veto. Jackson's action was highly controversial in Washington, but had considerable public support, and he won easy re-election in 1832.