 The Army promoted him to Second Lieutenant in 1856.In 1857 he worked as an associate professor of mathematics, and from 1858-1860, he worked as an engineer who helped design the Odessa-Kiev-Kursk railway.In 1862 the Imperial Russian Army promoted him to Captain and stationed him in Brest, Belarus, but he still sympathized with the Poles.