In 1813, Bernadotte successfully led Swedish troops against Napoleon during the War of the Sixth Coalition which resulted in Napoleon being exiled to the Island of Elba in 1814. In 1818 Bernadotte was crowned King of Sweden and King of Norway after defeating Norway in the war of 1814 after demanded Denmark to cede Norway to Sweden after the Napoleonic Wars as compensation for the loss of Finland in the Finnish War's to which the allies agreed, mainly to prevent further conflict. The Danish king ceded Norway shortly after the demands in fear of Sweden declaring war on Denmark. After the defeat of Norway in 1814 the creation of the union between Sweden and Norway came through. The union lasted for almost a century until being peacefully dissolved in 1905. After this he became "Charles XIV John of Sweden", and simultaneously founded the House of Bernadotte from which the current Swedish royal family hails from. Sweden declared itself officially neutral in 1818 from future conflicts.