und Länder). The Hungarian parts of the Empire were called "Lands of the Crown of Saint Stephen" or "Lands of Holy (St.) Stephen's Crown" (Länder der Heiligen Stephans Krone). The Bohemian (Czech) Lands were called "Lands of the St. Wenceslaus' Crown" (Länder der Wenzels-Krone). Names of some smaller territories: Present-day Austria is a semi-federal republic of nine states (Bundesländer): Lower Austria, Upper Austria, Tyrol, Styria, Salzburg, Carinthia, Vorarlberg, Burgenland and the capital city, Vienna. Burgenland came to Austria in 1921 from Hungary. Salzburg finally became Austrian in 1816 after the Napoleonic wars; before that it was ruled by the prince-archbishops of Salzburg as a sovereign territory. Vienna, Austria's capital, became a state on 1 January 1922, having been the imperial residence and capital of the Austrian Empire (Reichshaupt und Residenzstadt Wien) for centuries. Austria, historically, was split into "Austria above the Enns" and "Austria below the Enns" (the Enns river is the state-border between Upper- and Lower Austria). Upper Austria was enlarged after the Treaty of Teschen (1779) following the "War of the Bavarian Succession" by the so-called Innviertel ("Inn Quarter"), formerly part of Bavaria. Hereditary Lands (Erblande or Erbländer; mostly used Österreichische Erblande) or German Hereditary Lands (in the Austrian monarchy) or Austrian Hereditary Lands (Middle Ages – 1849/1918): In a narrower sense these were the "original" Habsburg territories, principally Austria (Oesterreich), Styria (Steiermark), Carinthia (Kaernten), Carniola (Krain), Tyrol (Tirol) and Vorarlberg. In a wider sense the Lands of the Bohemian Crown were also included (from 1526; definitively from 1620/27) in the Hereditary Lands. The term was replaced by the term "Crownlands" (see above) in the 1849 March Constitution, but it was also used afterwards. The Erblande also included many small territories that were principalities, duchies or counties in other parts of the Holy Roman Empire. Territories The territories ruled of the Austrian monarchy changed over the centuries, but the core always consisted of four blocs: The Hereditary Lands, which covered most of the modern states of Austria and Slovenia, as well as territories in northeastern Italy and (before 1797) southwestern Germany. To these were added in 1779 the Inn Quarter of Bavaria and in 1803 the Bishoprics of Trent and Brixen. The Napoleonic Wars caused disruptions where many parts of the Hereditary lands were lost, but all these, along with the former Archbishopric of Salzburg, which had previously been temporarily annexed between 1805 and 1809, were recovered at