The United States had an active role in world affairs between 1875-1914. The role really increased between 1898-1914. The United States was striving to become a world power. An opportunity presented itself in 1898 with events in Cuba.
The United States had protested the alleged poor treatment of the Cubans by the Spanish. Our newspapers over-exaggerated events in Cuba. This turned American public opinion against Spain. When a United States warship exploded in Havana Harbor, we blamed Spain and went to war with them. As a result of our war with Spain, we got colonies in the Pacific area and the Caribbean area. The United States was now a world power.
In the early 1900s, the United States acted as a police officer in parts of the world. We sent the Great White Fleet, our new navy, around the world to show off our power. We intervened often in Latin America to keep the peace, maintain stability and get things that we wanted. An example of this is how the Panama Canal agreement was developed and signed. We had activity in the Dominican Republic, Nicaragua, Colombia, Panama, and Mexico in the early 1900s. The United States was very active in the world in the late 1800s and early 1900s.