state during the war with Sweden (when many powerful magnates defected to the Swedish side). He recaptured the castle at Pilica from the Swedish commander Lindorn. He relieved his manor at Danków and forced the Swedes to retreat from Krzepice and Ogrodzieniec. He took part in the defence of Częstochowa, where Swedes laid siege to the Jasna Góra Monastery. Stanisław sent some of his men with provisions (cows) and 12 cannons to defend the monastery. During the Polish counteroffensive against the Swedes he took part in the fights against the Swedes in Siewierszczyzna (Severia). At some point he was ambushed by another magnate, Orzechowski. Warszycki barely escaped with his life and sued Orzechowski before the Crown Tribunal. Despite royal support for Orzechowski, Warszycki succeeded in securing a death penalty for his enemy. Although he gave Orzechowski the chance to evade the penalty if he would renounce his faith (he was a Polish brother), Orzechowski refused and consequently was executed by a firing squad. In 1669 he bought from for 267,000 zlotys estates at Ogrodzieniec, Bydlin, Włodowice, Kromołów, Zawiercie, and silver mines near Olkusz. He spent much of his fortune rebuilding what was damaged during the Swedish invasion, including the castle at Ogrodzieniec. He was known as a mediator and was active in the politics of Poland. Once, when an illness made him too weak to move, he ordered to be carried from Radom to Pilica to a Sejm (session of Polish parliament). His and his wife's epitaphs are to be found in Jasna Góra. Folklore Warszycki became a rather prominent character in many legends. Danków was said to have vast dungeons filled with treasures and in contemporary Poland there were stories that Warszycki sold his soul to the Devil to enlist his help in the construction of the fortifications. The Devil supposedly took him to hell before he died. His enemies also accused him of being cruel to his peasants; in Ogrodzienic he presumably constructed a 'cave of tortures'. Another story tells of how he became furious that his wife received a male guest, and suspecting them of an affair, blew up part of the castle. According to a variant of that story, he immured the unfaithful wife, before blowing up that part of the castle. Another just limits the penalty to public flagellation. An alternative reason for his cruelty against his wife is that she attempted to poison him.