From the second half of the 10th century until 1918, it was part of the Kingdom of Hungary.
从10世纪下半叶至1918年，它是匈牙利王国的领土。