He took part in World War I as a soldier in the ranks of Austro-Hungarian Army. In the battle of Piave he commanded an assault company. After Poland regained independence in the fall of 1918, he joined the Polish Army. In the first half of the 1920s, he was stationed in Przemyśl, where he was an adjutant of general Franciszek Latinik, commander of the District No. X Corps. Later, he was promoted to a captain of the military reserve force of the Polish Army.