Barbary corsairs (from the nominally Turkish states of Algiers and Tunis) were active for centuries before being suppressed by European states in the early 19th century. Spain, Italy and Malta were more regularly raided for slaves.
Another Barbary Corsair was Ward the Pirate of folk song fame.