Battling against Swedish forces, he reached up near Warsaw, where he was one of the royal commissioners that oversaw the takeover of the capital. He participated in the siege of Tykocin and the Battle of Warsaw (1656) after which the Swedish army again occupied the city. Then, on the King´s orders, he moved with its banners into the Duchy of Prussia and Lithuania. On 8 October 1656, at the battle of Prostki, he completely smashed the Brandenburgian and Swedish armies, capturing Prince Bogusław Radziwiłł. The battle has been describe by Henryk Sienkiewicz's novel "The Deluge". Another battle fought under his command, on 22 October 1656, was the Battle of Filipów however; it ended with a victory for the forces commanded by Field Marshal Gustaf Otto Stenbock, in the confusion of the battle the Prince Bogusław Radziwiłł managed to escape.