he was educated at home and in the kiev-mohyla academy. upon finishing his education, he entered the public service as a clerk in the office of count p. a. rumyantsev, then governor-general of little russia, whom he accompanied to the turkish war in 1768. he was present at the engagements of larga and kagul, and at the storming of silistria.