Austria
The Treaty of Saint-Germain of 1919 (for Hungary the Treaty of Trianon of 1920) confirmed and consolidated the new order of Central Europe which to a great extent had been established in November 1918, creating new states and altering others. The German-speaking parts of Austria which had been part of Austria-Hungary were reduced to a rump state named The Republic of German-Austria (German: "Republik Deutschösterreich"). The desire for "Anschluss" (annexation of Austria to Germany) was a popular opinion shared by all social circles in both Austria and Germany. On 12 November, German-Austria was declared a republic, and named Social Democrat Karl Renner as provisional chancellor. On the same day it drafted a provisional constitution that stated that "German-Austria is a democratic republic" (Article 1) and "German-Austria is an integral part of the German reich" (Article 2). The Treaty of Saint Germain and the Treaty of Versailles explicitly forbid union between Austria and Germany. The treaties also forced German-Austria to rename itself as "Republic of Austria" which consequently led to the first Austrian Republic.
Austrians
Though the Allied forces treated Austria as a belligerent party in the war and maintained occupation of it after the Nazi capitulation, they accepted the Declaration of Independence which Austrian politicians had signed at Vienna's city hall on April 27, 1945, and they made the first national elections possible in the autumn of that year. By the end of 1945, Austria, under the supervision of the Allied Council in Vienna, had a democratic parliament and government again, acknowledged by all four allied occupation zones.