what is the  capital city of libya which  Barbary pirates was also based primarily in 
Tripoli: Tripoli (Arabic: طرابلس‎ ‎ , "Ṭarābulus" ; Berber: "Ṭrables") is the capital city and the largest city of Libya.
i don't know