Kingdom of the Algarve
The Kingdom of the Algarve (Portuguese: Reino do Algarve, from the Arabic Gharb al-Andalus غرب الأندلس), later the Kingdom of the Algarves (Portuguese: Reino dos Algarves), was a nominal kingdom within the Kingdom of Portugal.
It was the second dominion of the Portuguese Crown and supposedly[clarification needed] a kingdom apart from Portugal, though in fact the Algarvian kingdom had no institutions, special privileges, or autonomy. In actuality, it was just an honorific title for the Algarve based on its history and was very similar to the rest of the Portuguese provinces.
The title King of Silves was first used by Sancho I of Portugal after the first conquest of Silves in 1189. As this conquest did not take all of the Algarve, Sancho never used the title King of Portugal and the Algarve, but instead it was adopted by his grandson Afonso III of Portugal as a part of the titles and honours of the Portuguese Crown.
During the Reconquista, Portuguese and Castilian conquests went south, to take lands from the Muslims that they claimed as theirs. Portugal conquered and secured much of its southern borders during the reigns of King Sancho II of Portugal and King Afonso III of Portugal.
In 1189, King Sancho I of Portugal conquered Silves, one of the most prosperous cities in Al-Andalus, aligned at the time with the Almohad Caliphate. Portuguese control over Silves would be short, with the Almohads conquering the city again in 1191 in a massive counter-attack led by Abu Yusuf Yaqub al-Mansur the Almohad Caliph in person.
The conquest of Algarve
With the decline of the Almohads, the southern taifa city-states united under a single Emir, Mûsâ Ibn Muhammad Ibn Nassir Ibn Mahfûz, former governor of Niebla, and known among the Christians as Aben Mafom.
Aben Mafom, King of Niebla and Emir of Algarve, trying to counter the achievements made by the Portuguese in their territories, declared vassalage to Alfonso X of Castile (who thus titled himself the King of the Algarve). Through his vassals, Alfonso X hoped to claim dominion over the Algarve not yet conquered by the Portuguese.
The Emir's vow of vassalage to Castille however did not stop the knights of the Order of Santiago, under the command of the Grand-Master Paio Peres Correia, from conquering most of the region city by city, between 1242 and 1249, including Silves. In March 1249, King Afonso III of Portugal captured Faro, the last Muslim stronghold in Algarve, ending the Portuguese Reconquista.
The entitlement of Afonso III of Portugal as King of Portugal and the Algarve would serve as a reaction to Alfonso X of Castile's claim to the Algarve and was designed to demonstrate the rights of the Portuguese monarch on the region concerned.
The issue between the sovereigns of Castille and Portugal was eventually settled by the Treaty of Badajoz (1267), where King Alfonso X gave up his claims of the Algarve, making his grandson Dinis the heir to the throne of the Algarve, which dictated the terms of its incorporation into the Portuguese crown. The treaty, though, allowed the use of the title of King of the Algarve for King Alfonso X and his descendants, since King Alfonso X had acquired the territories of Al-Gharb Al-Andalus on the other side of the Guadiana river. The kings of Castile, and then Spain, would add the title to their repertoire of titles until the ascent of Queen Isabel II of Spain to the throne.
Age of Discoveries
During the Age of Discoveries, the Algarve served as the location for the embarkment for many voyages, mainly those funded by the Infante D. Henrique. Prince Henry also set up his famous school of navigation at Sagres Point, though the idea of a real school building and campus is highly disputed. Most of the voyages set sail from Lagos.
The Algarves of either side of the sea in Africa
The name of the Algarvian Kingdom suffered some minor changes due to the Portuguese North African conquests, which were considered an extension of the kingdom of Algarve. John I of Portugal added to the title of "King of Portugal and the Algarve", the title "Lord of Ceuta", and his grandson Afonso V of Portugal, in turn, styled himself "Lord of Ceuta and Alcacer-Ceguer in Africa" (after 1458). The 1471 conquest of Asilah, Tangiers and Larache, together with North African previous holdings, led to the creation of the title "the Algarves from either side of the sea in Africa", leaving the European Algarve to become "the Algarve behind the sea."
Thus, it was not until 1471 that "the Kingdom of the Algarve" led to "the Kingdom of the Algarves", due to the increase of Portuguese possessions in Northern Africa, which were made as possessions of the Kingdom of the Algarve. The Portuguese monarchs therefore adopted the title that they would use until the fall of the monarchy in 1910: "Kings of Portugal and the Algarves of either side of the sea in Africa". The title would continue to be used even after the abandonment of the last North African holding in Mazagan (Portuguese: Mazagão; lost by Portugal in 1769).
19th century conflicts
During the 19th century, a serious clash between liberals and Miguelites, caused an exodus of people from the Algarvian inlands to the coastal cities. José Joaquim Sousa Reis, the Remexido, fought in the inlands and attacked the coastal cities, bringing the urban population into turmoil. The turmoil of the Algarve intensified in the years between 1834 and 1838, when the Algarve saw battles on a level it had never seen before. On November 26, 1836, Miguel I of Portugal named Remexido Governor of the Kingdom of the Algarve and Acting Commander in Chief of all the Royalist Troops, Regular and Irregular Armies, and the Operations in the South. Remexido, however, was shot in Faro on August 2, 1838.