Zakarpattia was part of Kingdom of Hungary, later Austria-Hungary until the latter's demise at the end of World War I. This region was briefly part of the short-lived West Ukrainian National Republic in 1918 and occupied by Romania at end of that year. It was later recaptured by Hungary in the summer of 1919. Finally, it joined the newly formed Czechoslovakia as "Subcarpathian Rus", of which it formed one of the four main regions, the others being Bohemia, Moravia and Slovakia.