Wenceslaus invaded Austria in 1250 and installed his son as governor. Ottokar was acclaimed by the nobility as Duke in 1251 and married Duke Frederick II's sister Margaret in 1252. In 1260 he was invested as Duke by King Richard of Cornwall, King of Germany.
In 1278, Rudolph I, King of Germany, defeated Ottokar and took control of Austria. In 1282 he invested his sons with the Duchies of Austria and Styria, thereby securing it for the Habsburg dynasty:
The Privilegium Maius, fabricated by Rudolf in 1359, attempted to invest the Dukes of Austria with the special position of an Archduke. This title was frequently used by Ernest the Iron and other Dukes but not recognized by other princes of the Holy Roman Empire until Frederick V became Emperor and confirmed the Privilegium in 1453.
Rudolf was succeeded by his brothers that at first ruled jointly:
both under the guardianship of Frederick IV of Tyrol, until 1435
The Elder Tyrolean Line received Tyrol and soon also Further Austria. These territories were also called Upper Austria (not to be confused with the namesake modern state):
Matthias Corvinus, King of Hungary, claimed the Austrian territories and occupied Austria proper and Styria. Claiming the title "Duke of Austria", he resided in Vienna from 1485 to his death in 1490.
Joseph II, Archduke 1780-1790, also King of Germany and Emperor-elect, King of Bohemia and Hungary
Leopold VII, Archduke 1790-1792, also King of Germany and Emperor-elect (as Leopold II), King of Bohemia and Hungary
Francis I, Archduke 1792-1835, also King of Germany and Emperor-elect (as Francis II) until 1806, King of Bohemia and Hungary, Emperor of Austria (as Francis I) since 1804
In 1918, a republic was established which lasted until 1938. Following World War II, a republic was reestablished in 1945. The head of state is the Federal President (Bundespräsident); however, in practice, the Federal Chancellor (Bundeskanzler) or Head of Government is far more important.