He started as officer of the Imperial Russian army on 10 August 1844. He reached the rank of colonel in 1848 and participated in the Hungarian campaign later in 1849. Having participated in the Caucasian War in 1860 with success, he transferred to Odessa Military District in 1865. He was promoted to major-general in 1877 and was transferred to Baku in 1879.