Austria-Hungary disintegrated at the end of World War I in 1918, when the Austrian lands established their independence. Bohemia and Moravia in the newly created Czechoslovakia, Galicia joined Poland, while Bukovina became a part of Romania. Carniola and Dalmatia joined the Kingdom of Serbs, Croats and Slovenes. Other territories were annexed by Italy (South Tyrol, Trieste and Istria). Yet the last Emperor, Charles I, used his imperial title until the end of his life. The Kingdom of Hungary, due to measures enacted during peace proceedings after the Great War and having terminated the 1867 compromise by 31 October 1918, similarly broke apart.