 After graduating from the Mikhailovsky Artillery School, he started his military service in the Life Guard of the Cavalry Artillery Brigade.In 1891, he became aide-de-camp to the Emperor and in 1899 was promoted to the rank of colonel.In 1904, he was made major general in the House Guards Artillery Brigade of the suite of the Tsar.