Szepes County
Spiš Castle was built in the twelfth century on the site of an earlier castle. It was the political, administrative, economic and cultural center of Szepes County of the Kingdom of Hungary. Before 1464, it was owned by the kings of Hungary, afterward (until 1528) by the Zápolya family, the Thurzó family (1531–1635), the Csáky family (1638–1945), and (since 1945) by the state of Czechoslovakia then Slovakia.