Answer by Matthew Burgess. Confidence votes 90.1K. James Madison, the fourth President of the United States, served two four-year terms in the office, between March 4, 1809 and March 4, 1817. He was preceded in by Thomas Jefferson and succeeded by James Monroe.