In 1843 Lincoln sought the Whig nomination for Illinois's 7th district seat in the U.S. House of Representatives; he was defeated by John J. Hardin though he prevailed with the party in limiting Hardin to one term.