Following the battle, with the Russian army broken, Charles XII reasoned that the Russians were no longer a threat to him and turned south to deal with Poland instead of pursuing Russia. Historians still argue as to whether or not Charles should have pressed his pursuit of the broken Russian enemy; had he chosen to pursue Peter, he might vary well have forced a quick victory and changed the outcome of the war. Regardless, after breaking a Saxony siege on Riga in the summer of 1701, Charles crossed into the Polish–Lithuanian Commonwealth. Although the Polish resisted for 6 years, they were finally forced out of the war following Swedish victory, again at impossible odds, at the Battle of Fraustadt. Augustus II was forced off the throne and replaced with the less aggressive Stanisław Leszczyński, and Poland ended its alliance with Russia.