What warned European nations to stay out of the western hemisphere?

The Monroe Doctrine warned European nations to stay out of the western hemisphere.