Abolition of slavery in Latin America was based on the philosophy of liberty as a natural right of every man and this was a philosophy of enlightenment as well. Some people of America agreed to this philosophy in the beginning, while others vehemently opposed it. the whites at first did not want to free their black slaves.
I don’t know if this helps but I found a Wikipedia page with lots of useful information. Sorry I couldn’t give a straight up answer but I haven’t gone over this in class.