The treaty's conclusion and its supersession in 1710 was closely tied to the Great Northern War, which had started shortly before its conclusion. Peter the Great had negotiated a three-front assault on the Swedish Empire with his allies August the Strong of Saxony and Poland-Lithuania and Frederik IV of Denmark-Norway: Peter was to attack Swedish Ingria, August was to attack Swedish Livonia, and Frederik was to attack Sweden's ally Holstein-Gottorp.[9] Peter's attack however was conditional, it was agreed that it would only start after the Russo-Ottoman peace was concluded.[9] As a consequence, the Russian attack was delayed to a point where Denmark was already defeated when Peter the Great marched his army out of Moscow,[10] enabling Sweden to face the Russian attack on Ingria and successfully repulse it.[11]