Nationalism is a political, social and cultural phenomenon that promotes the interests of a particular nation (as in a group of people) and advocates for the unity and independence of that nation.
The unification of Italy and Germany in the 19th century were driven by nationalist sentiments and movements. In Italy, various groups and individuals worked towards the unification of disparate Italian states into a single nation-state. This process involved a series of political, military, and cultural efforts to overcome regional divisions and establish a unified Italian identity.
Similarly, in Germany, nationalist movements sought to unify the various German states into a single nation. This involved a struggle against external powers that had control over German territories and a push for internal unity among the different German states. The process of unification culminated in the formation of the German Empire in 1871.
Both the unification of Italy and Germany were fueled by nationalist ideologies that promoted the idea of national unity, self-determination, and shared cultural and political heritage. These movements sought to create nation-states that would represent and protect the interests of their respective nations, promoting national identity and fostering a sense of belonging among the citizens.
In summary, the unification of Italy and Germany were indeed examples of nationalism, as they were driven by nationalistic sentiments and aimed to establish independent nation-states based on shared national identities.