 He completed his education with a degree in chemical engineering at the Emperor's Petersburg Institute of Technology in Saint Petersburg.He became active in politics as a student, mainly through university societies.From 1881 he was affiliated with "Lud Polski", a left-wing newspaper run by Bolesław Limanowski (as a result of which he was imprisoned in the Warsaw Citadel for three years).