 From November 1918 to January 1919 he was the commander of garrison Zamość and then the Military District in Cieszyn.In January 1919, he commanded the Polish troops during the Polish-Czechoslovak War with the Czech forces over Cieszyn Silesia, stopping the enemy offensive.On May 22, 1919 he was appointed commander of the Cieszyn Front of the South-West Front and on 30 May 1919 he was appointed commander of the 6th Infantry Division.