The Barbary pirates, or Barbary corsairs or Ottoman corsairs, were Muslim pirates and privateers who operated from North Africa, based primarily in the ports of Salé, Rabat, Algiers, Tunis, and Tripoli. This area was known in Europe as the Barbary Coast, in reference to the Berbers. 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 the British Isles, the Netherlands, and Iceland. The main purpose of their attacks was slaves for the Ottoman slave trade as well as the general Arab slavery market in North Africa and the Middle East. Slaves in Barbary could be of many ethnicities, and of many different religions, such as Christian, Jewish, or Muslim.