Even though first half of the 17th century was filled with wars, all major conflicts did not reach Lesser Poland, and the province continued to prosper, which was reflected in its castles and palaces, such as the enormous Krzyztopor. Apart from minor wars, such as Zebrzydowski Rebellion, and Kostka-Napierski Uprising, the province remained safe. Cossacks of the Khmelnytsky Uprising reached as far west as Zamość and Lwów, but did not enter Lesser Poland. The province did not witness other wars, such as Polish–Swedish War (1626–29), Polish–Muscovite War (1605–18), Polish–Ottoman War (1620–21), and Smolensk War. Nevertheless, Lesser Poland's nobility took active part in these conflicts – Marina Mniszech, the daughter of Voivode of Sandomierz, Jerzy Mniszech, was wife of False Dmitriy I, as well as False Dmitriy II. Furthermore, Lesser Poland's lands, especially its northeastern part, became a base for Polish troops, fighting the Cossacks, and King John II Casimir Vasa often stayed in Lublin with his court, preparing military campaigns in Ukraine. The situation changed with the outbreak of the Russo-Polish War (1654–1667). In October 1655, the Russo-Cossack armies under Ivan Vyhovsky entered eastern Lesser Poland, reaching the Vistula, and pillaging Lublin, Puławy, and Kazimierz Dolny. The invaders quickly retreated, but a few months later, Lesser Poland was flooded by the Swedes.