May 1814 Sweden initiated the Swedish–Norwegian War of 1814. The war was a short one taking place between 26 July – 14 August 1814 and was a Swedish victory that put Norway into a personal union with Sweden under Charles XIV John of Sweden. The union was peacefully dissolved in 1905. The United Kingdom of the Netherlands created as a buffer state against France dissolved rapidly with the independence of Belgium in 1830. The Napoleonic wars also played a key role in the independence of the Latin American colonies from Spain and Portugal. The conflict weakened the authority and military power of Spain, especially after the Battle of Trafalgar. There were many uprisings in Spanish America, leading to the wars of independence. In Portuguese America, Brazil experienced greater autonomy as it now served as seat of the Portuguese Empire and ascended politically to the status of Kingdom. These events also contributed to the Portuguese Liberal Revolution in 1820 and the Independence of Brazil in 1822. The century of relative transatlantic peace, after the Congress of Vienna, enabled the "greatest intercontinental migration in human history" beginning with "a big spurt of immigration after the release of the dam erected by the Napoleonic Wars." Immigration inflows relative to the US population rose to record levels (peaking at 1.6 per cent in 1850–51) as 30 million Europeans relocated to the United States between 1815 and 1914. Another concept emerged from the Congress of Vienna – that of a unified Europe. After his defeat, Napoleon deplored the fact that his dream of a free and peaceful "European association" remained unaccomplished. Such a European association would share the same principles of government, system of measurement, currency and Civil Code. One-and-a-half centuries later, and after two world wars several of these ideals re-emerged in the form of the European Union. Military legacy Enlarged scope Until the time of Napoleon, European states employed relatively small armies, made up of both national soldiers and mercenaries. These regulars were highly drilled, professional soldiers. Ancien Régime armies could only deploy small field armies due to rudimentary staffs and comprehensive yet cumbersome logistics. Both issues combined to limit field forces to approximately 30,000 men under a single commander. Military innovators in the mid-18th century began to recognise the potential of an entire nation at war: a "nation in arms". The scale of warfare dramatically enlarged during the Revolutionary and subsequent Napoleonic