sentences:  He graduated from the First Cadet Corps, served in the Imperial Russian Guard, then entered the Academy of the General Staff, but in 1861 he quit the military service and went abroad.For a number of years he studied in Paris, Berlin, and Heidelberg, where he got the degree of Doctor of Philosophy in 1865.On his return to Russia he worked for the Ministry of Internal Affairs and State Property.