James Madison was an American statesman, diplomat, and Founding Father who served as the fourth president of the United States from 1809 to 1817.