During the Deluge, that is the Swedish invasion of Poland, he fielded a Chorągiew of cavalry and commanded it personally in the battle of Warsaw (1656). He also led a regiment in the Russo-Polish War (1654–67) and then took part in quelling the Lubomirski's Rebellion.