 Slaves eventually were then granted freedom through manumission and later on, emancipation laws that target older slaves.Spain passed a similar law in 1869 to apply to its plantation colonies of Cuba and Puerto Rico, and passed it in 1870, to take effect in 1872.On the Iberian mainland, Spain had abolished slavery in 1837.