History of Sardinia
In the Early Middle Ages, through barbarian movements, the waning of the Byzantine Empire influence in the western Mediterranean and the Saracen raids, the island fell out of the sphere of influence of any higher government. This led to the birth of four kingdoms called "Judicates" (Latin: "Judicati"; Sardinian: "Judicados") in the 8th through 10th centuries. Falling under papal influence, Sardinia became the focus of the rivalry of Genoa and Pisa, the Judicates and the Crown of Aragon, which eventually subsumed the island as the Kingdom of Sardinia in 1324. The Kingdom was to last until 1718, when it was ceded to the Piedmontese House of Savoy; later, in 1861, it would thus become the Kingdom of Italy and finally in 1946 the Italian Republic.
Spanish conquest of Sardinia
The Spanish conquest of Sardinia, also known as the Spanish expedition to Sardinia, took place between the months of August and November 1717. It was the first military action between the Kingdom of Spain and the Holy Roman Empire after the War of the Spanish Succession (1701–1714), and was the direct cause of the War of the Quadruple Alliance (1718–1720). The Spanish troops commanded by the Marquis of Lede and Don José Carrillo de Albornoz, 1st Duke of Montemar, supported by the Spanish fleet, defeated the Emperor's troops easily, and conquered the entire island of Sardinia, which had been ruled by the Emperor since the Treaty of Rastatt (1714), returning it again and for the final time to Spain.