Tripoli

Situated in the curve of a bay, Tripoli rises from the yellow sand-dunes in all the splendor of an Oriental city—a radiant vision.

Travels in North Africa, Nahum Slouschz, 1927

In November 1942, the Allied forces retook Cyrenaica. By February 1943, the last German and Italian soldiers were driven from Libya and the Allied occupation of Libya began.
Tripolitania and Cyrenaica remained under British administration, while the French controlled Fezzan. In 1944, Idris returned from exile in Cairo but declined to resume permanent residence in Cyrenaica until the removal in 1947 of some aspects of foreign control. Under the terms of the 1947 peace treaty with the Allies, Italy, which hoped to maintain the colony of Tripolitania and France, which wanted the Fezzan, relinquished all claims to Libya. Libya so remained united.

Wikipedia