Thanks to chancellor Jerzy Ossoliński elected on Convocation Sejm as one of three regimentarz of the "pospolite ruszenie" during the Battle of Pyliavtsi in 1648. Because of his incompetence as a main "regimentarz" the battle were lost. In 1651 he participated in the Battle of Beresteczko. During the Swedish invasion ("The Deluge") was loyal to the king John Casimir Vasa, he prepared the defence of Przemyśl.