Arabic-speaking Muslim polities existed in medieval Spain and Portugal where they were superseded by Christian empires that gradually disavowed cultural connections to this past. Hebrew and Arabic were largely expurgated from homes and libraries. Jews and Muslims who refused to convert were expelled. And while an incipient study of that past existed, echoed even in popular literary forms, the need to disavow kinship prevailed, at least publicly and officially. The Maghrib, for its part, separated by a mere fourteen kilometers of sea from the southern tip of Spain, experienced Portuguese and Spanish imperial expansion firsthand, receiving the bulk of the displaced and interacting with fortified settlements and encroachments along the Atlantic and Mediterranean coasts. Later European colonization of North Africa completed the galvanization of a Maghribi culture of resistance to and disavowal of European, Latin, and Christian cultural forms and connections. Spain and North Africa came to be conceived as separate worlds; domains of inimical faiths; divided by culture, language, religion, and a history of mutual hostility. This sense of separateness is deceptive, however, as the Iberian Peninsula and North Africa are bound by deep and extensive commercial, material, and cultural contacts. They share inextricable histories in which alternating movements of commerce, conflict, and migration have played fundamental roles in shaping recognizably Western Mediterranean societies. They should be thought of as areas of a unified region with a common culture, or at the very least, as areas sharing a common region, in which they interact regularly, creating extensive ties and parallel forms of cultural and social organization.
The topic of prisoners, ransoms, and slavery in the Maghrib (that is, the lands of the Islamic west—the area that today encompasses North Africa, and historically, also the regions of Iberia and Sicily that came under Muslim rule) is of considerable chronological and geographical scope extending from the earliest establishment of Islamic rule in the region during the second half of the 7th century, persisting to the final decades of the 20th century, and enslaving or otherwise taking prisoner peoples from areas as geographically diverse as West Africa, the southern coastal regions of Europe, and as far north as Ireland and Iceland. The practice of slavery and the taking of prisoners in the Maghrib are thus of substantial historical significance. Yet, it is only in comparatively recent times that this complex topic has drawn the attention of scholars. Therefore, our understanding of slavery and the taking of prisoners in the Maghrib, especially during the medieval period, remains in its incipience.