Stoletov graduated from the General Staff Academy in 1859. In the 1860s Stoletov took part in the Russian conquest of Turkestan and was a major participant in the Russo Turkish War of 1877-78. During this conflict he commanded the Russian and Bulgarian forces at the 2nd battle of the Shipka Pass.