quite interesting the Barbary states were quite powerful and they also managed at one time to defeat the Americans in Libya. In Tunisia, the North Africans and the Ottomans would have a war with the Papal states and defeating them.