He was involved in the battles at Larga and Kagul in the military operations against Yemelyan Pugachev. He won the battle in Upper Kuban against Seraskier Batal-Bey and his 18,000 Turks and 15,000 Highlanders, capturing Batal-Bey and his whole camp. In 1792 he was appointed quartermaster-general under Mikhaïl Kretchetnikov in Lithuania and in 1794 he commanded a special corps in Poland.