When George Washington refused a third term in 1797, Adams was elected President (1797-1801). In 1797, Adams became the second President of the United States. He was the first President who belonged to a political party - the Federalists. ... He maintained his resolve to keep the United States out of war.