After the campaign, the victorious Allies dismantled Italian East Africa. The Anglo-Ethiopian Agreement restored Haile Selassie to the Ethiopian throne (see the section on Ethiopia). Somaliland and Eritrea were placed under British military administration. In 1945, during the Potsdam Conference, the United Nations granted Italy trusteeship of Italian Somaliland under close supervision, on condition that Somalia achieve independence within ten years. In 1950 Eritrea was ceded to Ethiopia. Both British and Italian Somaliland became independent in 1960 soon after united as the Somali Republic.