Final answer:
In the late 19th century, Cuba sought independence from Spain, leading to the Spanish-American War in 1898. Spain eventually recognized Cuba's independence and ceded other territories to the United States. The relationship between Cuba and Spain marked the decline of the Spanish Empire.
Step-by-step explanation:
In the late 19th century, Cuba was fighting for independence from Spain. The Cubans wanted political independence, while Spain sought to maintain control over the island to prevent further uprisings. The United States became involved in the conflict due to a combination of humanitarian concerns and self-interest, eventually leading to the Spanish-American War in 1898.
After the war, Spain recognized Cuba's independence and ceded Guam, Puerto Rico, and the Philippines to the United States. However, the U.S. government imposed certain limitations on Cuba's sovereignty, such as the Platt Amendment, which allowed for U.S. intervention in Cuban affairs. This relationship between Cuba and Spain at the end of the 19th century marked the decline of the Spanish Empire and the emergence of the United States as a global power.