capital at Königsberg. A tactical draw at Eylau (7–8 February 1807), followed by capitulation at Danzig (24 May 1807) and the Battle of Heilsberg (10 June 1807), forced the Russians to withdraw further north. Napoleon decisively beat the Russian army at Friedland (14 June 1807), following which Alexander had to make peace with Napoleon at Tilsit (7 July 1807). In Germany and Poland, new Napoleonic client states, such as the Kingdom of Westphalia, Duchy of Warsaw, and Republic of Danzig, were established. By September, Marshal Guillaume Brune completed the occupation of Swedish Pomerania, allowing the Swedish army to withdraw with all its munitions of war. Scandinavia and Finland Britain's first response to Napoleon's Continental System was to launch a major naval attack against Denmark. Although ostensibly neutral, Denmark was under heavy French and Russian pressure to pledge its fleet to Napoleon. London could not take the chance of ignoring the Danish threat. In August 1807, the Royal Navy besieged and bombarded Copenhagen, leading to the capture of the Dano–Norwegian fleet, and assuring use of the sea lanes in the North and Baltic seas for the British merchant fleet. Denmark joined the war on the side of France, but without a fleet it had little to offer, beginning an engagement in a naval guerrilla war in which small gunboats attacking larger British ships in Danish and Norwegian waters. Denmark also committed themselves to participate in a war against Sweden together with France and Russia. At Tilsit, Napoleon and Alexander had agreed that Russia should force Sweden to join the Continental System, which led to a Russian invasion of Finland in February 1808, followed by a Danish declaration of war in March. Napoleon also sent an auxiliary corps, consisting of troops from France, Spain and the Netherlands, led by Marshal Jean-Baptiste Bernadotte, to Denmark to participate in the invasion of Sweden. But British naval superiority prevented the armies from crossing the Øresund strait, and the war came mainly to be fought along the Swedish–Norwegian border. At the Congress of Erfurt (September–October 1808), France and Russia further agreed on the division of Sweden into two parts separated by the Gulf of Bothnia, where the eastern part became the Russian Grand Duchy of Finland. British voluntary attempts to assist Sweden with humanitarian aid remained limited and did not prevent Sweden from adopting a more Napoleon-friendly policy. The war between Denmark and Britain effectively ended