A couple of days after the battle, Lewenhaupt and the 20,000 soldiers and non-combatants remaining from the Carolean Army, surrendered to Prince Menshikov at the village of Perevolochna at the ford of the Dnieper. The King, Mazepa and about 1,000 men managed to cross the river and headed to the Ottoman Empire, where Charles stayed for several years before returning to Sweden at the end of 1715. With the main Swedish army destroyed, both Denmark-Norway and Saxony-Poland returned to the war against Sweden. Hannover and Prussia also joined the alliance against Sweden, and together with Russia, the countries attacked the Swedish dominions around the Baltic Sea. The battle of Poltava and the subsequent surrender marked the beginning of Sweden's final defeat in the war.