When another failed rebellion broke out on the island, the United States went to war with Spain and took control of the island by force. U.S. troops occupied Cuba until 1902, forcing the Cuban government to adopt the Platt Amendment that gave Americans the right to interfere in Cuba's internal affairs and establish a naval base at Guantanamo.