 In 1905 , Italy made Mogadishu the capital of the newly established Italian Somaliland . The Italians subsequently referred to the city as Mogadiscio . After World War I , the surrounding territory came under Italian control with some resistance . 
