The Spanish-American War was caused by yellow journalism exaggerating events in Cuba like the sinking of the USS Maine, as well as American desires to increase its global influence. The US declared war on Spain in 1898 and quickly defeated Spanish forces in Cuba and the Philippines. This led the US to acquire Spanish colonies like Cuba, Puerto Rico, and the Philippines. While the US granted Cuba independence, it maintained control over Puerto Rico and the Philippines through military occupation and colonial governments, demonstrating the war was one of American imperialism rather than simply a necessary conflict with Spain.