Question: what is the  capital city of libya which  Barbary pirates was also based primarily in 
Sentence (from "Barbary pirates"): In addition to seizing ships, they engaged in "Razzias", raids on European coastal towns and villages, mainly in Italy, France, Spain, and Portugal, but also in the British Isles, the Netherlands and as far away as Iceland.
Relevant evidence: No