During the First World War he led military hospital in Brno. After the war he immediately returned to Lwów, where he fought against Ukrainians in November 1918. He was promoted to general of Polish Army. In 1920 he started organizing military hospitals.