The Presidency of John Adams was from March 4, 1797–March 3, 1801. He was elected as the Second President of the United States in 1796. He ran for a second term in 1800, but was unsuccessful, losing to Thomas Jefferson. During his four years in office, Adams was plagued by a political rivalry with Alexander Hamilton, a falling out with Thomas Jefferson, and political intrigue with France.