The Monroe Doctrine was a doctrine created by President James Monroe in 1823. The main reason for the creation of the Doctrine was to end the European influence in the Western Hemisphere as a way to spread the American sphere of interest in the region.
America gave the message to Europe that the US would not tolerate further colonization or monarchs in the region and that the US would help South American countries to reach independence.