The Barbary corsairs, Barbary pirates, Ottoman corsairs, or naval mujahideen (in Muslim sources) were mainly Muslim corsairs and privateers who operated from the North African coast, known in Europe as the Barbary Coast, in reference to the Berbers. Slaves in Barbary could be of many ethnicities, and of many different religions, such as Christian, Jewish, or Muslim. Their predation extended throughout the Mediterranean, south along West Africa's Atlantic seaboard and into the North Atlantic as far north as Iceland, but they primarily operated in the western Mediterranean. In addition to seizing merchant ships, they engaged in razzias, raids on European coastal towns and villages, mainly in Italy, France, Spain, and Portugal, but also in Britain and Ireland, and Iceland (commemorated as the Turkish Abductions).
While such raids began after the Muslim conquest of the Iberian Peninsula in the 710s, the terms "Barbary pirates" and "Barbary corsairs" are normally applied to the raiders active from the 16th century onwards, when the frequency and range of the slavers' attacks increased. In that period, Algiers, Tunis and Tripoli came under the sovereignty of the Ottoman Empire, either as directly administered provinces or as autonomous dependencies known as the Barbary states. Similar raids were undertaken from Salé (see Salé Rovers) and other ports in Morocco.