after world war i, under the treaty of rapallo between the kingdom of serbs, croats and slovenes (later kingdom of yugoslavia) and the kingdom of italy (12 november 1920), italy obtained all of istria with trieste, the exception being the island of krk and part of kastav commune, which went to the kingdom of serbs, croats and slovenes. by the treaty of rome (27 january 1924) the free state of fiume was split between italy and yugoslavia.