He participated in the Battle of Berestechko against Cossacks in 1651. During "The Deluge" he dislodged the Swedish troops from Lublin, took part in the siege of Warsaw and captured Tykocin Castle in 1657. Together with Stefan Czarniecki, he defeated the Russian army at the Battle of Polonka in 1660.