However, Napoleon's disastrous 1812 invasion of Russia pushed Russia to the opposing, British-led side in the War of the Sixth Coalition, while Denmark remained a French client. When France was eventually defeated by the Sixth Coalition, Denmark was forced to cede control of Norway to Sweden in the 1814 Treaty of Kiel, accelerating Denmark's decline as a major power in Europe.