Swedish invasion of Poland (1701–1706)

The Polish front was a major part of the greater conflict, and it included some decisive battles in favor of the Swedes that contributed to the length of the war (21 years).

With promised support from tsar Peter in Russia, and Sweden's ongoing conflict with Denmark-Norway in the west, the Polish monarch believed it was going to be an easy victory.

Accordingly, the Swedish leadership issued a declaration of war against Augustus personally, but not against his nation, and Charles XII began to rally the Polish nobility against their king.

Another important factor to why the campaign was abandoned was Charles XII's intention to create a public opposition against Augustus in Poland, which would be difficult if the people were victims of a Swedish invasion.

Meanwhile, Augustus had tried to gather his supporters to create a confederation and use military force to keep Greater Poland down, after which he tried to strengthen diplomatic ties with Frederick I of Prussia.

However, before the election could begin, the leading candidate for the Polish throne, Jakub Ludwik Sobieski, was imprisoned by Augustus' forces and would remain in jail for two years along with his brother, Konstanty.

In a forced battle on 28 October 1704, Charles XII ran down a certain amount of Saxon troops with his 2,300 cavalrymen, but Schulenburg's army was not completely destroyed.

When the fighting between Sweden and Poland had ceased the task remained for Charles XII to secure the new order against coup attempts from the Saxons and Augustus' ally tsar Peter.

Throughout the time of the war Peter had been desperately trying to modernize his outdated army after the defeat at Narva, even though the Russian military was adequate to operate against poorly defended cities throughout the Swedish Baltic provinces.

After Wolmar von Schlippenbach's failures in the battles of Erastfer and Hummelshof, the Russians had conquered Nöteborg and Nyenskans, as well as beginning the construction of Petersburg, which would become their first naval base in the Baltic sea.

However, Rehnskiöld's excellent tactics and relentless offensives quickly overwhelmed the numerically superior enemy in the battle of Wschowa, and of 20,000 alliance troops only a quarter managed to escape while Sweden lost as few as 400 men.

Louis XIV of France also paid close attention to the conflict and reached out to Charles XII with a proposal that Sweden would join the ongoing War of Spanish Succession.

The Holy Roman Emperor signed a treaty with Sweden on 22 August 1707 where he made amends to the Swedish king and agreed to give the Protestants in Silesia more religious rights.

Stanisław I Leszczyński as king of Poland, being elected in 1704