Created in this way the palazzo in fortezza successfully resisted the Swedish invasion of 1655 and Rakoczy’s army attack of 1657. At the turn of the 18th and 19th centuries the castle was converted into a magnate’s mansion and functioned as a palace.
"Project co-financed by the European Union from the European Regional Development Fund and the state budget through the Carpathian Euroregion in the CBC Programme Poland - Slovak Republic 2007 - 2013"