I want to know the answer to the following question:
Where were the piratical kingdoms from?
All the background I'm provided with is that "It was occupied by piratical kingdoms of the Barbary Coast, de facto independent since the 18th century.". Is that enough to answer the question?