John Adams served two terms as vice president under George Washington and was elected president in 1796. As president, he faced difficulties including a naval conflict with France and partisan conflicts between Federalists and Democratic-Republicans. He signed the controversial Alien and Sedition Acts into law but did not strongly enforce them. Adams lost reelection in 1800 to Thomas Jefferson and the two founders had a falling out, but later reconciled through letters.