During the Great Northern War, with the rank of Major and in command of a battalion of the Preobrazhenskii Regiment, he participated in the Battle of Poltava (1709) and in the Pruth campaign (1711).