John Adams , a Federalist , defeated Jefferson in the 1796 election .
John Adams defeated Thomas Jefferson in the election of 1796 to become the second President of the United States .