During first Soviet and Nazi occupations of the Western Ukraine he served as an parish priest and professor in the Theological Seminary. In the same time he was the clandestine member and chaplain of the Home Army. Was arrested by the NKVD in 1941, but avoided the death, because of the prison Brygidki's escape. In 1944 he was again arrested by NKVD and imprisoned until 1948, when was released and continued to serve as a parish priest and during a period of the Polish population transfers (1944–1946) he remained in the Soviet Union. Rest of his life he spent as a Dean of the Cathedral Basilica of the Assumption, Lviv (1949–1958, 1965–1991). Here he worked until 1991 under the Communist persecution of the Religion.