After the War of the Spanish Succession, with the Treaty of Rastatt, Spain lost all its possessions in Sardinia, Italy and the Low Countries. The Kingdom of Sardinia, the Spanish Netherlands, the Duchy of Milan and the Kingdom of Naples were given to Austria, while Sicily was given to the Duke of Savoy. These territories had been under Spanish rule for nearly two centuries, and their loss was perceived as a great blow to the country in both practical and prestige terms.Laínez/Canales p.219 In 1717, with the rise of Spain as an important military power again, and the ambitions of King Philip V of Spain to regain Spanish supremacy in Italy and the Mediterranean, the rest of the European powers, Great Britain, France and Austria, to strengthen the Treaty of Utrecht, contemplated ceding Sicily to the Holy Roman Emperor Charles VI, but this arrangement displeased Spain, which wanted to recover the island. With this background, and the arrest in Milan of Spanish Grand Inquisitor Jose Molina by the Austrians, Philip V obtained the pretext he sought. In July, the King of Spain ordered the Spanish fleet, prepared in Barcelona, to conquer Sardinia, initiating hostilities with Austria.
Spanish conquest of Sardinia
The bulk of the Spanish expedition sailed from the port of Barcelona on July 24; the rest of the fleet sailed on 30 July. The fleet, under the command of the Marquis de Mari, consisted of nine ships of the line, six frigates, three galleys, two fireships and 80 transport and merchant ships. The army was 8,500 infantry and 500 cavalry commanded by the Marquis of Lede. On 22 August, the Spanish forces landed in Sardinia, and in just two months reconquered the whole island, whose defenses were commanded by the Marquis of Rubi. The quick victory was mainly due to the psychological action of the Marquis of San Felipe, who toured the island by encouraging the Sardinians, who were not happy with the Austrian dominion, preferring to return under the Spanish rule. Only the strongholds of Alghero and Castellaragonese and the important city of Cagliari resisted. But soon the Austrian troops in Cagliari commanded by Rubi, in the absence of reinforcements, decided to flee to the north of the island, and on 4 October, the Spanish took the city. A few days later, on 19 October, Spanish troops led by Lede and the Duke of Montemar laid siege to Alghero, which capitulated on 25 October. Castellaragonese fell on 30 October, and the Spanish victory was complete.
Consequences
The initial Austrian reaction to this invasion was limited, because Austria had put all its resources into the Austro-Turkish War of 1716–18, and the Austrian supreme commander, Prince Eugene of Savoy, wanted to avoid a great war in Italy with Spain. The Treaty of Passarowitz ended the war between the Ottoman Empire and Austria, and on 2 August, this led to the formation of the Quadruple Alliance. Meanwhile, in July 1718, the Spaniards, this time with 30,000 men, including four regiments of Dragoons, again led by the Marquis of Lede, and a fleet of 350 ships, and over 250 pieces of artillery, invaded Sicily. The Spanish forces captured Palermo on 7 July, and then divided their army in two. De Lede followed the coast to besiege Messina between 18 July and 30 September, while the Duke of Montemar conquered the rest of the island. The French, Austrians, and British demanded that the Spanish withdraw from Sicily and Sardinia. The attitude of Victor Amadeus II of Savoy was ambiguous, as he accepted negotiations with the Spanish Prime Minister, Cardinal Alberoni, to form an anti-Austrian alliance. At the conclusion of tbis war, Spain would relinquish Sardinia under the terms of the Treaty of The Hague.