Austrians
Historically, Austrians were regarded as ethnic Germans and viewed themselves as such. Austria was part of the Holy Roman Empire and the German Confederation until the Austro-Prussian war in 1866 which resulted in Prussia expelling Austria from the Confederation. Thus, when Germany was founded as a nation-state in 1871, Austria was not a part of it. In 1867, Austria was reformed into the Austro-Hungarian Empire. After the collapse of the Austro-Hungarian Empire in 1918 at the end of World War I, Austria was reduced to a rump state and adopted and briefly used the name the Republic of German-Austria ("Republik Deutschösterreich") in an attempt for union with the Republic of Germany, but was forbidden due to the Treaty of Saint-Germain-en-Laye (1919). The First Austrian Republic was founded in 1919. The Third Reich annexed Austria with the "Anschluss" in 1938.
Austria
The 1955 Austrian State Treaty ended the occupation of Austria following World War II and recognised Austria as an independent and sovereign state. On 26 October 1955, the Federal Assembly passed a constitutional article in which "Austria declares of her own free will her perpetual neutrality". The second section of this law stated that "in all future times Austria will not join any military alliances and will not permit the establishment of any foreign military bases on her territory". Since then, Austria has shaped its foreign policy on the basis of neutrality, but rather different from the neutrality of Switzerland.