Peace treaty
In 1872 he became Councillor to the Russian embassy in Constantinople. He directed the diplomatic office at the headquarters of the Russian army during the Russo-Turkish War of 1877–1878. He was an active part in negotiations that led to the Peace treaty of San Stefano and later the Treaty of Berlin.