 During the Swedish invasion of Poland, Polish King John II Casimir Vasa stayed in the castle in Głogówek from October 17, 1655 until December 18 of the same year.Hetman Stefan Czarniecki, poet Jan Andrzej Morsztyn, future king Michał Korybut Wiśniowiecki, and parliamentarian Jakub Sobieski, father of the future king John III Sobieski, also visited the town at that time.John II Casimir Vasa visited the town again, after his abdication, in 1669.