Conflicts with European countries caused them to sign the Monroe Doctrine, which specified that the United States would not intervene in the internal affairs of European countries. They formed friendly ties with British Canada and the Spanish province of Florida. These feelings of patriotism and solidarity arose as a result.
What they have in common is that both actions require consent of the senate. The senate has to vote with a majority for those things to come into effect Hope this helps!