 He took part in the January Uprising (1863-1865) of Poles against the Russian occupation (partitions of Poland) by organising pro-Polish patriotic demonstrations.After the defeat of the Uprising he was sentenced to death, later changed to exile to Orenburg until 1867.Afterwards from 1869 he lived in Warsaw, where he became of the teachers in the Flying University.