From 1418 to 1516 Sardinia was ruled by viceroys from the Crown of Aragon, which merged into the Monarchy of Spain in 1516.
At the end of the War of the Spanish Succession, by the Treaty of Rastatt (1714), Sardinia was ceded to Austria.
The island was briefly reconquered by Spain during the War of Quadruple Alliance.
In 1720, Sardinia was ceded to Savoy by the Treaty of The Hague.
In the 1847 Perfect Fusion, Sardinia was merged into the mainland holdings of the House of Savoy and the office of Viceroy was abolished the following year.