In the aftermath of the Treaty of Pereyaslav, the Ottomans (supposedly acting on behalf of the Russian regent Sophia Alekseyevna) pressured the Patriarch of Constantinople into transferring the Metropolitan of Kiev and all Rus' from the jurisdiction of Constantinople to that of Moscow. The handover brought millions of faithful and half a dozen dioceses under the ultimate administrative care of the Patriarch of Moscow and all Rus' (and later of the Holy Synod of Russia), leading to the significant Ukrainian presence in the Russian Church, which continued well into the 18th century, with Theophanes Prokopovich, Epiphanius Slavinetsky, Stephen Yavorsky and Demetrius of Rostov being among the most notable representatives of this trend. The exact terms and conditions of the handover of the Kiev Metropolis are a contested issue.