 He served under the command of Alexander Suvorov and participated in his campaigns in Italy and Switzerland.Then he became the Marshal of Nobility of Grodno gubernia.From 1813 to 1815 he was the member of the High Provisional Council ("Rada Najwyższa Tymczasowa") of the Duchy of Warsaw.