In 1981, Mauritania became the last country in Africa officially to abolish slavery.