Great Northern War
1702–1710: Russia and the Baltic provinces

The Battle of Narva dealt a severe setback to Peter the Great, but the shift of Charles XII's army to the Polish-Saxon threat soon afterward provided him with an opportunity to regroup and regain territory in the Baltic provinces. Russian victories at Erastfer and Nöteborg (Shlisselburg) provided access to Ingria in 1703, where Peter captured the Swedish fortress of Nyen, guarding the mouth of the River Neva. Thanks to General Adam Ludwig Lewenhaupt, whose outnumbered forces fended the Russians off in the battles of Gemäuerthof and Jakobstadt, Sweden was able to maintain control of most of its Baltic provinces. Before going to war, Peter had made preparations for a navy and a modern-style army, based primarily on infantry drilled in the use of firearms.

The Nyen fortress was soon abandoned and demolished by Peter, who built nearby a superior fortress as a beginning to the city of Saint Petersburg. By 1704, other fortresses were situated on the island of Kotlin and the sand flats to its south. These became known as Kronstadt and Kronslot. The Swedes attempted a raid on the Neva fort on 13 July 1704 with ships and landing armies, but the Russian fortifications held. In 1705, repeated Swedish attacks were made against Russian fortifications in the area, to little effect. A major attack on 15 July 1705 ended in the deaths of more than 500 Swedish men, or a third of its forces.

In view of continued failure to check Russian consolidation, and with declining manpower, Sweden opted to blockade Saint Petersburg in 1705. In the summer of 1706, Swedish General Georg Johan Maidel crossed the Neva with 4,000 troops and defeated an opposing Russian force, but made no move on Saint Petersburg. Later in the autumn Peter I led an army of 20,000 men in an attempt to take the Swedish town and fortress of Viborg. However, bad roads proved impassable to his heavy siege guns. The troops, who arrived on 12 October, therefore had to abandon the siege after only a few days. On 12 May 1708, a Russian galley fleet made a lightning raid on Borgå and managed to return to Kronslot just one day before the Swedish battle fleet returned to the blockade, after being delayed by unfavourable winds.

In August 1708, a Swedish army of 12,000 men under General Georg Henrik Lybecker attacked Ingria, crossing the Neva from the north. They met stubborn resistance, ran out of supplies and, after reaching the Gulf of Finland west of Kronstadt, had to be evacuated by sea between 10 and 17 October. Over 11,000 men were evacuated but more than 5000 horses were slaughtered, which crippled the mobility and offensive capability of the Swedish army in Finland for several years. Peter I took advantage of this by redeploying a large number of men from Ingria to Ukraine.

Charles spent the years 1702–06 in a prolonged struggle with Augustus II the Strong; he had already inflicted defeat on him at Riga in June 1701 and took Warsaw the following year, but trying to force a decisive defeat proved elusive. Russia left Poland in the spring of 1706, abandoning artillery but escaping from the pursuing Swedes, who stopped at Pinsk. Charles wanted not just to defeat the Commonwealth army but to depose Augustus, whom he regarded as especially treasonous, and have him replaced with someone who would be a Swedish ally, though this proved hard to achieve. After years of marches and fighting around Poland he finally had to invade Augustus' hereditary Saxony to take him out of the war. In the treaty of Altranstädt (1706), Augustus was finally forced to step down from the Polish throne, but Charles had already lost the valuable advantage of time over his main enemy in the east, Peter I, who then had the time to recover and build up an army that was both new and better.

At this point, in 1707, Peter offered to return everything he had so far occupied (essentially Ingria) except Saint Petersburg and the line of the Neva, to avoid a full-scale war, but Charles XII refused. Instead he initiated a march from Saxony to invade Russia. Though his primary goal was Moscow, the strength of his forces was sapped by the cold weather (the winter of 1708/09 being one of the most severe in modern European history) and Peter's use of scorched earth tactics. When the main army turned south to recover in Ukraine, the second army with supplies and reinforcements was intercepted and routed at Lesnaya —and so were the supplies and reinforcements of Swedish ally Ivan Mazepa in Baturyn. Charles was crushingly defeated by a larger Russian force under Peter in the Battle of Poltava and fled to the Ottoman Empire while the remains of his army surrendered at Perevolochna.

This shattering defeat in 1709 did not end the war, although it decided it. Denmark and Saxony joined the war again and Augustus the Strong, through the politics of Boris Kurakin, regained the Polish throne. Peter continued his campaigns in the Baltics, and eventually he built up a powerful navy. In 1710 the Russian forces captured Riga, at the time the most populated city in the Swedish realm, and Tallinn, evicting the Swedes from the Baltic provinces, now integrated in the Russian Tsardom by the capitulation of Estonia and Livonia.
startend:end_checker