Tsardom of Russia
The Russo-Swedish War of 1656–1658 was fought by Russia and Sweden as a theater of the Second Northern War. It took place during a pause in the contemporary Russo-Polish War (1654-1667) as a consequence of the Truce of Vilna. Despite initial successes, Tsar Alexis of Russia failed to secure his principal objective—to revise the Treaty of Stolbovo, which had stripped Russia of the Baltic coast at the close of the Ingrian War.
By the end of 1658, Denmark was knocked out of the Northern Wars and the Ukrainian Cossacks under Khmelnytskyi's successor, Ivan Vyhovsky, allied themselves with Poland, changing the international situation drastically and inducing the tsar to resume the war against Poland as soon as possible. When the term expired, Russia's military position in the Polish war had deteriorated to such a point that the tsar could not allow himself to be involved into a new conflict against powerful Sweden. His boyars had no other choice but to sign in 1661 the Treaty of Kardis (Kärde), which obliged Russia to yield its Livonian and Ingrian conquests to Sweden, confirming the provisions of the Treaty of Stolbovo.