In 1846, Lincoln joined the Whig Party and was elected to one term in the House of Representatives. After that, he ignored his political career and instead worked as a lawyer. In 1854, in reaction to the passage of the Kansas-Nebraska Act, Lincoln became involved in politics again. He joined the Republican Party, which had recently been formed in opposition to the expansion of slavery. In 1858, he wanted to become senator; although this was unsuccessful, the debates drew national attention to him.