Khmelnytsky, deserted by his Tatar allies, suffered a crushing deafeat at the Battle of Berestechko in 1651, and turned to the Russian tsar for help. In 1654, Khmelnytsky was subject to the Pereyaslav Council, forming a military and political alliance with Russia that acknowledged loyalty to the Russian tsar.