The last country to abolish slavery (in the Western world) was Brazil. It abolished slavery in 1888, by the time that almost 4 million slaves were transported from Africa to Brazil.
In the whole world, Mauritania was the last country to abolish slavery.