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.
Austrians
After Austria was excluded from Germany in 1866, the following year Austria joined Hungary as a dual empire known as the Austro-Hungarian Empire. A further major change resulted from a reorganisation of the Austrian Empire in 1867 into a dual monarchy, acknowledging the Kingdom of Hungary as an independent state bound to the remaining part of the empire, as well independent, by a personal and real union, the Emperor of Austria being the Apostolic King of Hungary (with both titles on the same level). The Austrian half, a patchwork of crown-lands, broadly coterminous with the modern-day Austria, the Czech Republic, Slovenia, and parts of Poland, Ukraine, Italy, and Croatia, was bound together by the common constitution of 1867, stating that all subjects now would carry "uniform Austrian citizenship" and have the same fundamental rights. These non-Hungarian lands were not officially called the Austrian Empire. Until 1915, they were officially called "the Kingdoms and States Represented in the Imperial Council" and politicians used the technical term Cisleithania (labelling the Hungarian lands as Transleithania). The general public called them Austria, and in 1915, the non-parliamentary Cisleithanian government decreed to use this term officially, too.