How it affected the world

The Barbary Wars affected the world because it showed the states and countries of North Africa's piracy and their powers against the United States merchants and how they conquered us and kidnapped our own people in the first war. Also showing that the United States only went against such states, just the Barbary Coast and they defeated us once, but we haven't went against the Ottoman Empire that they were attached to so in the end the Barbary Wars could've been detrimental then what actually occurred.