Answer:
The Barbary Wars were a conflict between the United States of America and the Berber nations of North Africa, belonging to the Ottoman Empire, located in what is now Tunisia, Algeria and Libya.
This conflict began because the Berber governments supported piracy activities in the Mediterranean Sea, which caused serious damage to American commercial interests in the region, as many of their ships were hijacked.