As the 1812 War broke out, Khmelnitsky joined the Russian army and at one time served as Mikhail Kutuzov’s adjutant. He took part in several 1813-1814 campaigns and was among the Russian troops that entered Paris. After the War he became the head of Saint Petersburg’s military governor General Miloradovich's chancellery.