Who was the 4th President?

The 4th President of the United States was James Madison. He served as President from March 4, 1809 to March 4, 1817. He is one of the Founding Fathers of the United States.