However, external affairs did not allow Peter to fully concentrate on the reforms. In December 1718 came the news of the death of Charles XII. Peace negotiations with his successors were very slow. But gradually, the new suffering setbacks, the Swedes became more compliant. September 3, 1721 Courier brought Peter in Vyborg peace treaty prisoner August 30th. According to him, to Russia departed Livonia, Estonia, Ingria, part of Karelia with Vyborg, Finland and Sweden returned. Severe in the history of Russian war, which lasted more than twenty years, ended in complete victory. Celebrations on the occasion of its completion in the capital began immediately and continued until the end of the year. October 22 the Senate decided to bring Peter titles Father of the Fatherland, the Emperor and the Great. Even severe flooding is not interrupted by the holidays in November and the end of December the emperor went to celebrate a victory in Moscow.