The Campaign of Grodno was a plan developed by Johann Patkul and Otto Arnold von Paykull during the Swedish invasion of the Polish–Lithuanian Commonwealth, a part of the Great Northern War. Its purpose was to crush Charles XII's army with overwhelming force in a combined offensive of Russian and Saxon troops. The campaign, executed by Peter I of Russia and Augustus II of Saxony, began in July 1705 and lasted almost a year. In divided areas the allies would jointly strike the Swedish troops occupied in Poland, in order to neutralize the influence the Swedes had in the Polish politics. However, the Swedish forces under Charles XII successfully outmaneuvered the allies, installed a Polish king in favor of their own and finally won two decisive victories at Grodno and Fraustadt in 1706. This r