Austro-Hungarian invaded of Serbia starting World War I
WWI ended and the Austro-Hungarian collapsed. The Slovenes declared their independence from Austria and joined the State of Slovenes, Croats and Serbs. Hungarian government terminated the union with Austria, officially dissolving the Austro-Hungarian state. German- and Hungarian-speaking territor broke off from Austria to form Republic of German Austria.
What was left of Austria became the first Republic of Austria