Until 1918/20 it belonged to Hungary, 1920-1924 and 1938–1939 to Poland, 1939–1945 to Slovakia, 1945–1993 to Czechoslovakia.
From 1918/20 until 1920-1924 and 1938–1939, the region was under Polish control; from 1939–1945, Slovakia had jurisdiction over it; and from 1945–1993, Czechoslovakia held authority.