The Treaty of Altranstädt was concluded between Charles XII of Sweden and Augustus the Strong of Saxony and Poland–Lithuania, on 13 October 1706, during the Great Northern War.
On behalf of Charles XII, who had occupied much of the Polish–Lithuanian Commonwealth during the Great Northern War, Stanisław Leszczyński was crowned king of Poland on 4 October 1705.
[1] A faction of the commonwealth, organized in the Sandomierz Confederation, remained loyal to Saxon elector Augustus the Strong, Polish king since 1697 and allied against Charles XII with Russian tsar Peter the Great.
[3] As a consequence of Fraustadt, the Saxon electorate was virtually undefended, and when Charles XII combined his forces with Rehskiöld and moved through Silesia to occupy it, he met no resistance.
[5] By the Treaty of Thorn (1709), Augustus the Strong was restored as Polish king and renewed the alliance with Russia which was made possible by Peter the Great's victory over Charles XII in the Battle of Poltava 27 June 1709.