"1672-87: Samoylovych and Russia:" When Ivan Samoylovych was elected hetman he agreed to limited powers. He could not judge the starshina or carry on foreign relations without the consent of the starshina council. He disbanded the hired troops under the hetman's direct control. In 1674 and 1676 he and his Russian ally besieged Doroshenko at Chyhyryn. On September 19, 1676, Doroshenko surrendered to Samylovych, who declared himself hetman of a united Ukraine. But within two years the Turks drove him back across the Dnieper. Poland and Russia signed the Eternal Peace Treaty of 1686, which again recognized Polish rule of the right bank and removed the Poles from Zaporozhia, a major disappointment for Samoylovych. In 1687, 100,000 Russians and 50,000 Cossacks launched an attack on the Crimea (Crimean campaigns), which failed. Samoylovych was blamed, removed, and exiled to Siberia.