The Barbary Pirates (also called Ottoman Corsairs) were Muslim pirates operating for many centuries out of various ports in North Africa. They mainly preyed on christian shipping in the western mediterranean sea, and were heavily involved in the slave trade (making constant raids along the european coastline for the purpose of capturing slaves for the slave markets of Algeria and Morocco)
See also: the Wikipedia article on the Barbary Pirates