In 1859, he was appointed an Austrian army chaplain in the Italian campaign against Napoleon III, but the war was over before he could take up his appointment. After serving as confessor to the Sisters of Mercy at Agram for several years and operating a ministry in the Lepoglava prison, he went to Rome (in 1862 for the canonization of the Japanese martyrs), where he came into contact with the Trappists for the first time. Awaiting his bishop's permission to join this order, he went on a pilgrimage to Palestine in 1863. On 9 October he enters the Trappist Priory of Mariawald (Germany). He was later professed at the priory and made sub-prior. He returned to Rome in 1866, where he reorganized the well-known monastery at Tre Fontane. In 1867, he set up a new Trappist monastery in Austria (Donaumonarchy). He also conceived the idea of a foundation in Turkey. In 1869, despite serious difficulties he opened the monastery of Mariastern in Bosnia, near Banja Luka, which was raised to the status of an abbey in 1879.