After the explosion of the USS Maine the United States declared war on Spain, starting the Spanish–American War.Declaration of War with Spain, 1898 (H.R. 10086), United States Senate The United States invaded and occupied Spanish-ruled Cuba in 1898. Many in the United States did not want to annex Cuba and passed the Teller Amendment, forbidding annexation. Cuba was occupied by the U.S. and run by military governor Leonard Wood during the first occupation from 1898 to 1902, after the end of the war. The Platt Amendment was passed later on outlining U.S. Cuban relations. It said the U.S. could intervene anytime against a government that was not approved, forced Cuba to accept U.S. influence, and limited Cuban abilities to make foreign relations. The United States forced Cuba to accept the terms of the Platt Amendment, by putting it into their constitution.US archives online , Date of ratification by Cuba After the occupation, Cuba and the U.S. would sign the Cuban–American Treaty of Relations in 1903, further agreeing to the terms of the Platt Amendment.
