What were the Barbary Wars? The Barbary States: Europeans referred to three quasi-independent states and the sultanate of Morocco as the Barbary States due to the Berbers living in the area. While Morocco was independent, it did not participate in piracy between the 16th and 18th centuries, ...