from about the 16th to the 19th century, barbary was a name for a region in north africa, from egypt to the atlantic, and from the mediterranean to the sahara. the states were called barbary states or berbery states, after the people of the berbers, who lived there. the coastal regions were commonly called barbary coast.