Before the Battle of Poltava, when Ivan Mazepa sided with Carl XII, the new Metropolitan Ioasaf along with bishops of Chernigov and Pereyaslav was summoned by Peter the Great to Glukhov where they were ordered to declare an anathema onto Mazepa. After the battle of Poltava, in 1709 Metropolitan Ioasaf was exiled to Tver and in 1710 a church censorship was introduced to the Kyiv metropolia. In 1718 Metropolitan Ioasaf was arrested and dispatched to Saint Petersburg for interrogation where he died.