[9][10] They converted to Islam under the Arabs and Berbers[9] and were forcibly recruited into the Moroccan army by Ismail Ibn Sharif (Sultan of Morocco from 1672–1727) to consolidate power.
[8] During the Roman occupation of Mauretania, the Godala Berber tribe fled to the south towards the Draa oasis and enslaved the local Haratin population.
Being denied the right and the ability to own any land, they historically survived by accepting a patron-client serf relationship either as domestic servant or as share-cropping labor (khammasin).
[18][19] They became a common target of mandatory conscription by the Moroccan ruler Sultan Ismail Ibn Sharif (himself having a Haratin mother) as he sought to build a military that had no social or cultural attachment to any other Arab or Berber group in Maghreb.
[22] The Haratin of Mauritania, according to anthropologist Joseph Hellweg, who specializes in West African studies, were historically part of a social caste-like hierarchy that likely developed from a Bedouin legacy between the 14th and 16th century.
[22][27] However, even after the formalities, abolishment, and new laws, discrimination against Haratin is still widespread, and many continue to be, for all practical purposes, enslaved, while large numbers live in other forms of informal dependence on their former masters.
[22] The Amnesty International report states that "[s]social attitudes have changed among most urban Moors, but in rural areas, the ancient divide is still very alive."
There have been many attempts to assess the real extension of slavery in modern Mauritania, but these have mostly been frustrated by the Nouakchott government's official stance that the practice has been eliminated.
[30] Haratin in Morocco are mostly concentrated in the southern part of the Drâa-Tafilalet region, specifically towns such as Zagora where they make up a significant portion of the populace.
[18][20] According to Remco Ensel – a professor of anthropology specializing in Maghreb studies, the word "Haratin" in Moroccan is a pejorative that connotes "subordination, disrepute" and in contemporary literature; it is often replaced with "Drawi", "Drawa", "Sahrawi", "Sahrawa", or other regional terms.
They absorbed the "Arabo-centric values in the dominant interpretation of Islam", states El Hamel, over the generations and they see themselves as Muslim Moroccans, rather than by their ethnic or native group.
[33] The Haratins remain indispensable workers in modern oases societies, states Ensel, and continue to be mistreated in contrast to the upper strata called the "Shurfa".
Slavery is still engraved in memories due to historical and traditional reasons, and such cases are not as shocking as one might think to the society of the Sahrawi refugee camps.
Responding to questions about slavery, the Polisario has acknowledged the survival "to a limited extent, of certain practices related to antiquated thinking" and said it was "determined to combat and eradicate them whenever they emerge and no matter what shape they take."
[41] In the Algerian Sahara, the Haratin, who were marginalized by France during colonization, experienced social and political progress after the country's independence.
[42] This integration had started during the war of liberation; a discourse of emancipation and the absence of state racism, which constitutes a tradition of Algerian nationalism, had succeeded in mobilizing this social category.