Tripoli is the capital city and the largest city of Libya. As of 2011, the Tripoli metropolitan area had a population of 2.2 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, the Tripoli District.