The walled town and the castle within were part of the national defence system. The Gothic inner castle built in the 13th-14th-century was later refurbished in a Renaissance and Baroque style.
The castle owes its name to its captain and defender during the Turkish period, Nikola Juri±ić. Some also call it Esterházy Castle given that the Esterházy family owned it for the longest period of 236 years.