Why it's the capital
The Phoenicians founded the city, then called Oea, in the 7th century BC. From 1711 the Karamanli pashas ruled the Tripolitania region from here almost like an independent kingdom. After Libya's independence in 1951, Tripoli and Benghazi took turns as capital, and Tripoli later became the sole capital.