Monroe was president from 1817 to 1825. With his Secretary of State John Quincy Adams, Monroe got Spain to give the United States Florida. Monroe and Adams also created the Monroe Doctrine, which was a policy that said that the United States did not want Europe to be involved in the Western Hemisphere anymore.