James Monroe was an American statesman and Founding Father who served as the fifth President of the United States from 1817 to 1825. Monroe was the last president of the Virginia dynasty, and his presidency ushered in what is known as the Era of Good Feelings. 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.
James Knox Polk was an American politician who served as the 11th President of the United States . He previously was Speaker of the House of Representatives and Governor of Tennessee . A protégé of Andrew Jackson, he was a member of the Democratic Party and an advocate of Jacksonian democracy. During Polk's presidency, the United States expanded significantly with the annexation of the Republic of Texas, the Oregon Territory, and the Mexican Cession following the American victory in the Mexican–American War.