Fifteen Democrats have served as President of the United States. The first was Andrew Jackson, who was the seventh president and served from 1829 to 1837. The most recent was Barack Obama, who was the 44th and held office from 2009 to 2017.