After a 1648 rebellion of the Cossacks against the Polish–Lithuanian Commonwealth, Hetman Bohdan Khmelnytsky agreed to the Treaty of Pereyaslav in January 1654. The exact nature of the relationship established by this treaty between Cossack Hetmanate and Russia remains a matter of scholarly controversy. The agreement precipitated the Russo-Polish War (1654–67) also called The War for Ukraine. In consequence, by the Eternal Peace Treaty, signed in 1686, the eastern portion of Ukraine (east of the Dnieper River) were to come under Russian rule, 146,000 rubles were to be paid to Poland as compensation for the loss of the Right Bank of Ukraine and the parties agreed not to sign a separate treaty with the Ottoman Empire. The treaty was strongly opposed in Poland and was not ratified by the Sejm (parliament of the Polish–Lithuanian Commonwealth) until 1710. The legal legitimacy of its ratification has been disputed. According to Jacek Staszewski, the treaty was not confirmed by a resolution of the Sejm until the Convocation Sejm (1764).