In the end, Russia was victorious, as seen in the 1667 Treaty of Andrusovo and the 1686 Eternal Peace. Ukrainian Cossacks fell under the Russian sphere of influence, with much fewer privileges under the Hetmanate than would have been granted under the treaty of Hadiach. By the end of the 18th century, Cossack political influence has been almost completely destroyed by the Russian Empire.