It received caravans from Fezzan and Ghadamès, which consisted solely, in the eighteenth century, of gold powder and slaves, according to contemporary witnesses.
Tunisian slaves derived from two principal zones: Europe and a large area stretching from West Africa to Lake Chad.
In addition to Ghadamès, which connected the beylik to Fezzan, Morzouk and the Kingdom of Bornou, Timbuktu was in regular contact with the Beylik via the caravan route which passed through M'zab and Djerid and put the country in touch with African groups and peoples of a large zone touching the Bambara lands, the city of Djenne and several regions of the central West Africa.
The frequency of collective manumissions of black slaves at the death of a prince or princess reveals some important comparative numbers.
[1] According to Raëd Bader, based on estimates of the Trans-Saharan trade, between 1700 and 1880 Tunisia received 100,000 black slaves, compared to only 65,000 entering Algeria, 400,000 in Libya, 515,000 in Morocco and 800,000 in Egypt.
In addition to this politico-administrative arrangement, the slaves obviously had their own specific religious organisations as confraternities, whose functions were not limited to the spiritual lives of the members.
Viviane Pâques relates similar phenomena, "At the oases, slaves were especially in use as domestic servants, for sinking wells and for digging canals.
Some general practices in the Tunisian court contributed to entrench this tradition: the princes from the Hafsid period down to the Husainid beys solely employed slaves as palace guards and servants in their harem.
Ahmed I was convinced of the necessity of this action; himself the son of a slave, he was considered open to progress and quick to act against all forms of fanaticism.
[9] To alleviate discontent, Ahmed obtained fatwas from the ulama beforehand from the Bach-mufti Sidi Brahim Riahi, which forbade slavery, categorically and without any precedent in the Arab Muslim world.
[10][11] However, although the abolition was accepted by the urban population, it was rejected - according to Ibn Abi Dhiaf - at Djerba, among the Bedouins, and among the peasants who required a cheap and obedient workforce.
The descendants of slaves of mostly sub-Saharan origin, the Haratin have been, and still commonly are, socially isolated in some Maghrebi countries, living in segregated, Haratin-only ghettos.
[14][15] Over the second half of the nineteenth century, the majority of the former slaves, male or female, formed an urban underclass, relying on their former masters or living in precarious circumstances (foundouks on the outskirts).
Often they work as bread sellers, street merchants, masseurs in the Moorish baths, domestic servants or simple criminals, easily nabbed by the municipal police for drunkenness or petty larceny.