In 1946 he was the commander of the regiment stationed at Sanok. In September 1946, he was appointed deputy commander for the line affairs of the Internal Security Corps. In 1947, he took part in Operation Vistula as the deputy commander of the Operational Group of General Stefan Mossor.
