https://en.wikipedia.org/wiki/Barbary_pirates
Number of people enslaved
The number of slaves captured by Barbary pirates are difficult to quantify. According to Robert Davis, between 1 million and 1.25 million Europeans were captured by Barbary pirates and sold as slaves in North Africa and Ottoman Empire between the 16th and 19th centuries.[33][34]
Legacy
The history of Muslim enslavement of white Europeans has been cited by some as contextualising the importance of subsequent European and American enslavement of blacks. Scholar Robert Davis noted that the larger picture isn’t so one-sided: during a “clash of empires... taking slaves was part of the conflict,” and at the same time 2 million Europeans were enslaved by Muslims in North Africa and the Near East, 1 million Muslim slaves in Europe.[36]
As Dr. John Callow at University of Suffolk notes, the experience of enslavement by the Barbary pirates preceded the Atlantic slave trade and “the memory of slavery, and the methodology of slaving, that was burned into the British consciousness was first and foremost rooted in a North African context, where Britons were more likely to be slaves than slave masters.”[37]