Charles XII of Sweden, after his defeat in 1709 at the Battle of Lesnaya, sought refuge in Tighina, a border fort of the Turkish vassal state of Moldavia, guarded by Ottoman troops. As a response, Peter came to Iaşi in 1710. There he re-signed the Russian-Moldavian treaty of alliance (previously signed at Lutsk on 24 April 1711), which provided for the hereditary leadership his close friend Dimitrie Cantemir (son of Constantin Cantemir and brother of Antioh Constantin) who was supposed to bear the title of Serene Lord of the land of Moldavia, Sovereign, and Friend (Volegator) of the land of Russia, but not as a subject vassal, as under the Ottomans. Although at that time Russia's western border was the Southern Bug River, the treaty stipulated that the Dniester should be the boundary between Moldavia and the Russian Empire and that the Budjak would belong to Moldavia. The country was to pay not a cent of tribute. The Tsar bound himself not to infringe the rights of the Moldavian sovereign, or whoever might succeed him. Considering him the savior of Moldavia, the boyars held a banquet in honor of the Tsar and to celebrate the treaty.