After losing control of the German portions of the Holy Roman Empire in the nineteenth century, Austria joined with Hungary to create the Austro-Hungarian Empire (18671918). Allied with Germany, Bulgaria, and Turkey in World War I, the Austro-Hungarian Empire was devastated by the war.
Austria was occupied by Nazi forces in 1938 and annexed by Adolf Hitler to Germany. It was reestablished as a republic in 1945 but remained occupied by four Allied powers until it declared neutrality in 1955.