Cuba remained a colony of Spain , but the war contributed to the abolition of slavery on the island in 1886 and planted the seeds of a national consciousness .
Cuba is a colony of Spain for many decades .