The Barbary Coast (also Barbary, Berbery, or Berber Coast) was the name given to the coastal regions of central and western North Africa or more specifically the Maghreb and the Ottoman borderlands consisting of the regencies in Algiers, Tunis, and Tripoli, as well as the Sultanate of Morocco from the 16th to 19th centuries.[1][2][3] The term originates from an exonym for the Berbers.[4][5]