In the first period of the Swedish "Deluge" he was commander of Husarian and Pancerni squadrons in the Battle of Wojnicz on 2 October 1655, but soon change the sides and served under Charles X Gustav. In February 1656 he returned to the Army of the Crown and fought in the rank of a pułkownik of the cavalry in the Battle of Warsaw.
In 1657 he participated in the battles against George Rakoczy II and the Siege of Toruń in 1658. In 1660 during the Ukrainian campaign, he participated in the battles of Cudnów and Lubar.