During the Great Northern War, multiple candidates had emerged after the death of John III Sobieski for the elective kingship of Poland (which also included the Grand Duchy of Lithuania as part of the Poland-Lithuanian Commonwealth). Backed by powerful neighbors in Russia and Austria, the Sejm elected Augustus the Strong, Elector of Saxony to succeed John III in 1697 as August II. Russia's primary antagonist in the Great Northern War, Sweden had supported Stanisław Leszczyński for the throne, and after defeating a combined army of Saxon and Polish-Lithuanian forces, deposed August II and installed Leszczyński as Stanisław I in 1704.
During the Great Northern War, multiple candidates had emerged after the death of John III Sobieski for the elective kingship of Poland (which also included the Grand Duchy of Lithuania as part of the Poland-Lithuanian Commonwealth). Backed by powerful neighbors in Russia and Austria, the Sejm elected Augustus the Strong, Elector of Saxony to succeed John III in 1697 as August II. Russia's primary antagonist in the Great Northern War, Sweden had supported Stanisław Leszczyński for the throne, and after defeating a combined army of Saxon and Poli:sh-Lithuanian forces, deposed August II and installed Leszczyński as Stanisław I in 1704.