The Spanish–American War was a conflict between the Kingdom of Spain and the United States of America that took place from April to August 1898.
The war began due to American demands that Spain peacefully resolve the Cuban fight for independence, though strong expansionist sentiment in the United States may have also motivated the government to target Spain's other remaining overseas territories: Puerto Rico, the Philippines, Guam and the Caroline Islands.
Riots in Havana by pro-Spanish "Voluntarios" gave the United States a reason to send in the warship USS Maine to indicate high national interest. Tension among the American people was raised because of the explosion of the USS Maine, and "yellow journalism" that accused Spain of extensive atrocities. The war ended after quick, decisive naval and military victories for the United States in the Philippines and Cuba.
Only 109 days after the outbreak of war, the Treaty of Paris, which ended the conflict, gave the United States ownership of the former Spanish colonies of Puerto Rico, the Philippines and Guam. The United States occupied Cuba, ending the insurrection and expelling the Spanish.