 The commissions also defined Baranya and Međimurje as Croatian territories, and moreover set up the present-day border between Serbia and Croatia in Syrmia and along the Danube River between Ilok and the Drava river's mouth and further north to the Hungarian border; the Ilok/Drava section matched the border between the Kingdom of Croatia-Slavonia and Bács-Bodrog County that existed until 1918 (the end of World War I).Most of the border with Slovenia was also defined by the commissions, matching the northwestern border of the Kingdom of Croatia-Slavonia, and establishing a new section of Croatian border north of the Istrian peninsula according to the ethnic composition of the territory previously belonging to the Kingdom of Italy.Pursuant to the 1947 Treaty of Peace with Italy the islands of Cres, Lastovo and Palagruža and the cities of Zadar and Rijeka and most of Istria went to communist Yugoslavia and Croatia, while carving out the Free Territory of Trieste (FTT) as a city-state.