After the Napoleonic era, Austria was one of the main powers in Europe with great influence over Germany, Italy and Eastern Europe. During the second half of the 19th century Austria was not able to prevent the unification of Italy and of Germany by Prussia (excluding the also German Austria) and was also obliged to grant equal partnership in the empire to Hungary. Nonetheless the empire remained one of the major players in European affairs until its destruction after the First World War.