In 1918 (and confirmed by the Treaty of Trianon in 1920), the county became part of newly formed Czechoslovakia. A tiny part of the territory (situated in today's Poland below the Rysy), amounting to 195 km² after an internal border dispute had been confirmed to be part of Galicia (Central Europe) (at that time the western part of Austria-Hungary) as early as 1902. After World War I northern Spiš was united with Poland and became the subject of a long-running border dispute between Poland and Czechoslovakia. (See separate article, Czechoslovak-Polish border dispute (1918-1947). In 1923 Slovak Spiš was divided between the newly formed Sub-Tatra county (Podtatranská župa) and Košice county (Коšická župa). In 1928-1939 and 1945-1948 it was part of the newly created Slovak Land (Slovenská krajina).