In the 1860´s the economy of Cuba was becoming really prosperous due to the commerce of tobacco and sugar but this prosperity did not benefit the island itself as were the Spanish elites the ones who were enriching from this agricultural growth. This sugar-cane latifundium owned by the creole bourgeois class were worked by slaves. Having said that, this situation of comfort did not last for the Spanish.
Firstly, because the creole class was oppressed by the Spanish colonists as they did not delegate them the autonomy they claimed and also because the Spanish prevented the creole from belonging to the colonial government.
Secondly, the development of the industry and the American abolition