the French Empire brought with it many liberal features of the French Revolution including democracy, due process in courts, abolition of serfdom, reduction of the power of the Catholic Church, and demand for constitutional limits on monarchs. The increasing voice of the middle classes with rising commerce and industry meant that restored European monarchs found it difficult to restore pre-revolutionary absolutism and had to retain many of the reforms enacted during Napoleon's rule. Institutional legacies remain to this day in the form of civil law, with clearly defined codes of law—an enduring legacy of the Napoleonic Code. France's constant warfare with the combined forces of different combinations of, and eventually all, of the other major powers of Europe for over two decades finally took its toll. By the end of the Napoleonic Wars, France no longer held the role of the dominant power in Continental Europe, as it had since the times of Louis XIV, as the Congress of Vienna produced a "balance of power" by resizing the main powers so they could balance each other and remain at peace. In this regard, Prussia was restored in its former borders, and also received large chunks of Poland and Saxony. Greatly enlarged, Prussia became a permanent Great Power. In order to drag Prussia's attention towards the west and France, the Congress also gave the Rhineland and Westphalia to Prussia. These industrial regions transformed agrarian Prussia into an industrial leader in the nineteenth century. Britain emerged as the most important economic power, and its Royal Navy held unquestioned naval superiority across the globe well into the 20th century. After the Napoleonic period, nationalism, a relatively new movement, became increasingly significant. This shaped much of the course of future European history. Its growth spelled the beginning of some states and the end of others, as the map of Europe changed dramatically in the hundred years following the Napoleonic Era. Rule by fiefdoms and aristocracy was widely replaced by national ideologies based on shared origins and culture. Bonaparte's reign over Europe sowed the seeds for the founding of the nation-states of Germany and Italy by starting the process of consolidating city-states, kingdoms and principalities. At the end of the war, Denmark was forced to cede Norway to Sweden mainly as a compensation for the loss of Finland which the other coalition members agreed to, but because Norway had signed its own constitution on 17