He also joined the Riflemen Union and Association of Progressive Youth. After the outbreak of the Great War he joined Józef Piłsudski's Polish Legions, where he served in the 1st Uhlans Regiment. After the Oath Crisis of 1917 he joined the Polish Military Organization and organized the cadres of the future Polish Army.