Charles XII elected his own candidate to the Polish throne in 1704, and spent the next three years chasing down Augustus II, now fleeing west towards his native Saxony. Charles XII met Peter's main army, dug in at Grodno, in early 1706. Unwilling to meet an elite force on foreign territory, Peter ordered his forces to retreat, but kept light forces in the area to harass the Swedes whenever possible. Part of the retreating column, led by Menshikov, met a smaller Swedish detachment at Kalisz, and in the ensuing battle defeated it soundly. However, by 1707, Charles had finally chased down and deposed King Augustus, ending his Polish detour and bringing his attention squarely back to Russia.