Through his law partner, John Todd Stuart, Lincoln met and married Mary Todd in 1842 and attached himself to the Whig elite of Springfield. He won election to Congress in 1846, but his term was undistinguished. Lincoln returned to Illinois to a life of domestic unhappiness, but substantial success as an attorney, especially in civil litigation.