Stanisław Leszczyński's coronation, as Stanisław I of Poland, was completed on 4 October, with no further interference from Augustus II's allies. After some smaller skirmishes outside, or near, Warsaw, among them an attempt made to destroy the recently Swedish-constructed bridge connecting Warsaw and Praga, peace between Sweden and Poland was finally established on 28 November. These developments allowed Charles XII to break camp on 9 January 1706 with his 20,000 men, and march towards the Russians at Grodno, where he partly encircled the city and starved them out. Meanwhile, the Saxon army under Schulenburg was defeated by Rehnskiöld at the Battle of Fraustadt. This would result in a Swedish invasion of Saxony and the Treaty of Altranstädt (1706), by which Augustus II renounced all his claims to the Polish throne.