By spring 1711 Peter was ready. He moved his army from Kyiv down through Poland, skirting wide of the Black Sea, before crossing the Dnester into Moldavia, aiming to sever it from Turkish rule. In reality, the campaign turned out to be a disaster; the 40,000 Russian troops, stymied by the enormous distances involved, were instead trapped on the river Prut by 130,000 Turkish troops. In the only major battle, the Russians successfully held the Ottomans, unaccustomed to concentrated Russian firepower, at bay, but the fight was indeed hopeless, as Peter was trapped and facing a superior Turkish force. The resultant treaty was surprisingly lenient considering that the Russian force was facing annihilation; Peter lost Azov, was forced to abandon his southern fleet, promised not to meddle with Polish affairs, and guaranteed safe passage to Sweden for Charles XII. In return, Peter was able to extricate himself from the situation, and continued to hold a dominant position in the Great Northern War.