Battle of Poltava
In 1709 after Mazepa switched sides and joined the Swedes against Russia, Paliy together with other enemies of Mazepa was freed from exile. During the Battle of Poltava he fought against Mazepa and Charles XII in the ranks of Cossacks loyal to Russia.