Answer :
The war that gave Cuba independence from Spain was the Spanish American War which began after a civil war began in Cuba for independence from Spain.
The correct answer is: "Spanish-American War".
The Spanish-American war was fought initially between Spain and Cuba. The latter aimed to gain independence from the Spanish rule and its colonial power. Subsequently, the US intervened in the conflict in the Cuban side against the Spanish, this is why the conflict was finally known as Spanish American War. The defeat of the Spanish and their withdrawal from Cuban soil took place in 1898.