On November 1, 1918, commanding a unit of the POW, he disarmed Austro-Hungarian soldiers, stationed in the garrison of Rzeszow. He then formed Infantry Regiment of the Land of Rzeszow, which later was renamed into 17th Infantry Regiment (Poland). Together with the 1st and 3rd Company of the Regiment, he fought in the Battle of Lemberg (1918): his unit was part of Operational Group of Colonel Michal Karaszewicz-Tokarzewski.