The Cuban War of Independence was the last of three liberation wars that Cuba fought against Spain, the other two being the Ten Years' War and the Little War.