The Warsaw Confederation (Polish: Konfederacja warszawska) was a confederation against King of Poland–Lithuania Augustus II the Strong.
[citation needed] With the backing of Charles XII of Sweden, it dethroned August II and declared Stanisław Leszczyński king.
[1][2] In response on 20 May 1704,[citation needed] the supporters of August II formed the Sandomierz Confederation.
[1] The Warsaw Confederation was eventually victorious in the civil war in Poland, which ended with the Treaty of Altranstädt.
[1] Soon, however, after the Swedish defeat in the Battle of Poltava, the Russians prevailed,[3] and Augustus II resumed the Polish throne in 1709.