The Cathedral of Tripoli in the 1960s.
After 25 July, the new Italian government under the King and Field Marshal Pietro Badoglio remained outwardly part of the Axis. But, secretly, it started negotiations with the Allies. On the eve of the American landings at Salerno, which started the Allied invasion of Italy, the new Italian government secretly signed an armistice with the Allies. On 8 September, the armistice was made public. In Albania, Yugoslavia, the Dodecanese, and other territories still held by the Italians, German military forces successfully attacked their former Italian allies and ended Italy's rule. During the Dodecanese Campaign, an Allied attempt to take the Dodecanese with the cooperation of the Italian troops ended in total German victory. In China, the Imperial Japanese Army occupied Italy's concession in Tientsin after getting news of the armistice. Later in 1943 the Italian Social Republic formally ceded control of the concession to Japan's puppet regime in China, the Reorganized National Government of China under Wang Jingwei.
Italian war cemetery in Keren, Eritrea.
In 1947, the Italian Republic formally lost all her overseas colonial possessions as a result of the Treaty of Peace with Italy. There were discussions to maintain Tripolitania (a province of Italian Libya) as the last Italian colony, but these were not successful. In November 1949, Italian Somaliland was made a United Nations Trust Territory under Italian administration. This lasted until 1 July 1960, when Italian Somaliland was granted its independence and, together with British Somaliland, formed the Somali Republic.
(source)