The Governor of Milan ruled the
Duchy of Milan as a representative of the
King of Spain (1535–1706) and the
Archduke of Austria (1706–1796) and (1799–1800). The first governor was appointed after the death of the last duke of the House of Sforza,
Milan fell to the Austrian army on September 26, 1706 during the
War of the Spanish Succession. The Austrian rule was confirmed by the
Treaty of Rastatt.