After a war with Austria in 1859, Italy was largely unified into the Kingdom of Italy in 1861. Italy sought to expand its territory and become a great power, taking possession of parts of Eritrea in 1870 and 1882. In 1889–90, it occupied territory on the south side of the horn of Africa, forming what would become Italian Somaliland. In the disorder that followed the 1889 death of Emperor Yohannes IV, Gen. Oreste Baratieri occupied the highlands along the Eritrean coast and Italy proclaimed the establishment of a new colony of Eritrea, with capital Asmara in substitution of Massawa. When relations between Italy and Ethiopia deteriorated, the First Italo-Ethiopian War broke out in 1895; Italian troops were defeated as the Ethiopians had numerical superiority, better organization, and support from Russia and France. In 1911, it engaged in a war with the Ottoman Empire, in which it acquired Tripolitania and Cyrenaica, that together formed what became known as Italian Libya. In 1919 Enrico Corradini developed the concept of "Proletarian Nationalism", supposed to legitimise Italy's imperialism by a mixture of socialism with nationalism: