Both the French Revolution and Napoleon affected the two countries. Italy was particularly influenced by the career of Napoleon who first rose to fame with his Italian campaign (1796). At first, Napoleon and his invading armies were treated by Italians as liberators who taught them liberalism and nationalism. In fact, Napoleon instituted some reforms in Italy and even created a united kingdom of Italy. These reforms reinforced the impact of liberalism and nationalism. However, when Napoleon became more of a dictator, he was opposed by Italians who rose into rebellion against Napoleonic dominance.
As for Germany, the French Revolution and Napoleon gave the first impetus to nationalist and liberal forces. Napoleon reduced the number of German states from over three hundred to thirty nine and grouped them into a Confederation of the Rhine. On the other hand, both Austria and Prussia, major German states, were soundly defeated by Napoleon in several battles. Their harsh treatment nursed strong patriotic feeling among the Germans. In particular, Prussia had a modernized army and government in order to fight