John Adams succeeded George Washington as the second president of the United States. Thomas Jefferson and Alexander Hamilton were both important figures during this time, with Jefferson serving as vice president under Adams and Hamilton serving as the first secretary of the Treasury under Washington. However, Adams won the presidential election of 1796 and served as president from 1797 until 1801.