Russian armies advanced in 1660. The Commonwealth mustered all its military resources and in Lithuania Stefan Czarniecki and Paweł Jan Sapieha defeated Ivan Khovansky at the Battle of Polonka. The Russians had to abandon the siege of Lachowicze (Lyakhavichy) and withdraw beyond the Berezina River. Vilnius was recovered by the Poles the following year. Of great importance was the Volhynia victory of Jerzy Lubomirski and Stanisław Potocki over Vasily Sheremetev in the Battle of Chudniv in October 1660. Yurii Khmelnytsky, also defeated, agreed there to submit to John Casimir and approved a weaker (for the Cossacks) version of the Treaty of Hadiach.