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