Austria-Hungary, also referred to as the Austro-Hungarian Empire or the Dual Monarchy, was a multi-national constitutional monarchy in Central Europe between 1867 and 1918. A military and diplomatic alliance, it consisted of two sovereign states with a single monarch who was titled both the Emperor of Austria and the King of Hungary. Austria-Hungary constituted the last phase in the constitutional evolution of the Habsburg monarchy: it was formed with the Austro-Hungarian Compromise of 1867 in the aftermath of the Austro-Prussian War, following wars of independence by Hungary (primarily Rákóczi's War of Independence of 1703–1711 and the Hungarian Revolution of 1848–1849) in opposition to Habsburg rule. It was dissolved shortly after Hungary terminated the union with Austria in 1918 at the end of World War I.
Austria-Hungary was one of Europe's major powers, and was the second-largest country in Europe in area (after Russia) and the third-most populous (after Russia and the German Empire), while being among the 10 most populous countries worldwide. The Empire built up the fourth-largest machine-building industry in the world. With the exception of the territory of the Bosnian Condominium, the Empire of Austria and the Kingdom of Hungary were separate sovereign countries in international law.