quality:corruption, stylistic:style_transfer, structural:reformatting, information:highlighting
Austria-Hungary, often 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 Emperor of Austria and 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 and was dissolved shortly after Hungary terminated the union with Austria on 31 October 1918.

One of Europe's major powers at the time, Austria-Hungary was geographically the second-largest country in Europe and the third-most populous (after Russia and the German Empire). 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.

At its core was the dual monarchy, which was a real union between Cisleithania, the northern and western parts of the former Austrian Empire, and Transleithania (Kingdom of Hungary). Following the 1867 reforms, the Austrian and Hungarian states were co-equal in power. The two countries conducted unified diplomatic and defence policies. For these purposes, "common" ministries of foreign affairs and defence were maintained under the monarch's direct authority, as was a third finance ministry responsible only for financing the two "common" portfolios. A third component of the union was the Kingdom of Croatia-Slavonia, an autonomous region under the Hungarian crown, which negotiated the Croatian–Hungarian Settlement in 1868. After 1878, Bosnia and Herzegovina came under Austro-Hungarian joint military and civilian rule until it was fully annexed in 1908, provoking the Bosnian crisis.

Austria-Hungary was one of the Central Powers in World War I, which began with an Austro-Hungarian war declaration on the Kingdom of Serbia on 28 July 1914. It was already effectively dissolved by the time the military authorities signed the armistice of Villa Giusti on 3 November 1918. The Kingdom of Hungary and the First Austrian Republic were treated as its successors de jure, whereas the independence of the First Czechoslovak Republic, the Second Polish Republic, and the Kingdom of Yugoslavia, respectively, and most of the territorial demands of the Kingdom of Romania and the Kingdom of Italy were also recognized by the victorious powers in 1920.