He served as the president of the United States from March 4, 1801, until March 4, 1809. After serving two terms, Jefferson was succeeded by Secretary of State, James Madison, who was also of the Democratic-Republican Party.