James Monroe (; April 28, 1758 – July 4, 1831) was an American statesman, lawyer, diplomat and Founding Father who served as the fifth president of the United States from 1817 to 1825. A member of the Democratic-Republican Party, Monroe was the last president of the Virginia dynasty; his presidency coincided with the Era of Good Feelings. A member of the Democratic-Republican Party, Monroe was the last president of the Virginia dynasty; his presidency coincided with the Era of Good Feelings. Monroe was a member of the American Colonization Society, which supported the colonization of Africa by freed slaves, and Liberia's capital of Monrovia is named in his honor. Following his retirement in 1825, Monroe was plagued by financial difficulties, and died on July 4, 1831 in New York City. He has been generally ranked as an above-average president by historians.