In 1892, Ali bin Said let Italy use the city. Italy bought the city in 1905. They made "Mogadiscio" (Italian for Mogadishu) the capital of Italian Somaliland. The Italians took control of the area around the city in 1919 after minor resistance. Italian Mogadiscio from a small village of 1,000 inhabitants in the 1890s to a modern capital in 1940 of nearly 100,000 persons (of whom more than 1/3 were Italians), that was second only to Asmara in Eritrea for development inside the Italian Empire.