James Monroe (/mənˈroʊ/; April 28, 1758 – July 4, 1831) was an American statesman who served as the fifth President of the United States from 1817 to 1825. Monroe was the last president among the Founding Fathers of the United States as well as the Virginian dynasty; he also represented the end of the Democratic-Republican Generation in that office. Born in Westmoreland County, Virginia, Monroe was of the planter class and fought in the American Revolutionary War. He was wounded in the Battle of Trenton with a musket ball to his shoulder. After studying law under Thomas Jefferson from 1780 to 1783, he served as a delegate in the Continental Congress.[2]