In France, he took part in the formation of the Polish Legions and the founding of the Society of Polish Republicans.