sentences:  Other traces of Lubomirski's restructuring include parts of the castle fortification, presumably the work of Krzysztof Mieroszewski (1600-1679).During the Swedish invasion of Poland, in 1656, the castle was visited by King John II Casimir (1609-1672).In 1657, it was unsuccessfully besieged by the Swedish ally, George II Rákóczi.