From 1945, he was the commander of the Rzeszów District of the anti-Communist organization, Freedom and Independence (WiN). Later, Kawalec moved to Kraków, joining the Department of Information and Propaganda of the 4th Headquarters of WiN, under Łukasz Ciepliński and Adam Lazarowicz.[2] Due to betrayal, he was arrested on 1 February 1948 in Poronin and transported to the Mokotów Prison in Warsaw. Tortured during the investigation, in October 1950 he was sentenced to death four times. Kawalec was executed by a shot in the head on 1 March 1951. His body was buried in an unknown location.[3]