James Monroe (April 28, 1758 – July 4, 1831) was the fifth President of the United States (1817–1825).