Tripoli is the capital city and the largest city of Libya. Tripoli, with its metropolitan area, has a population of about 1.1 million people. The city is located in the northwestern part of Libya on the edge of the desert, on a point of rocky land projecting into the Mediterranean and forming a bay.
Tripoli includes the Port of Tripoli and the country's largest commercial and manufacturing centre. It is also the site of the University of Tripoli. The vast Bab al-Azizia barracks, which includes the former family estate of Muammar Gaddafi, is also located in the city. Colonel Gaddafi largely ruled the country from his residence in this barracks.
Tripoli was founded in the 7th century BC by the Phoenicians, who named it Oea. Due to the city's long history, there are many sites of archaeological significance in Tripoli. "Tripoli" may also refer to the shabiyah (top-level administrative division in the current Libyan system), the Tripoli District.