the leadership of Alfonso VIII of Castile drove the Muslims from Central Iberia. The Portuguese side of the Reconquista ended in 1249 with the conquest of the Algarve ( – al-Gharb) under Afonso III. He was the first Portuguese monarch to claim the title "King of Portugal and the Algarve". The Moorish Kingdom of Granada continued for three more centuries in southern Iberia. On 2 January 1492, the leader of the last Muslim stronghold in Granada surrendered to the armies of a recently united Christian Spain (after the marriage of Ferdinand II of Aragón and Isabella I of Castile, the "Catholic Monarchs"). The Moorish inhabitants received no military aid or rescue from other Muslim nations. The remaining Jews were also forced to leave Spain, convert to Roman Catholic Christianity, or be killed for refusing to do so. In 1480, to exert social and religious control, Isabella and Ferdinand agreed to allow the Inquisition in Spain. The Muslim population of Granada rebelled in 1499. The revolt lasted until early 1501, giving the Castilian authorities an excuse to void the terms of the Treaty of Granada (1491). In 1501, Castilian authorities delivered an ultimatum to the Muslims of Granada: they could either convert to Christianity or be expelled. The Inquisition was aimed mostly at Jews and Muslims who had overtly converted to Christianity but were thought to be practicing their faiths secretly. They were respectively called marranos and moriscos. However, in 1567 King Philip II directed Moriscos to give up their Arabic names and traditional dress, and prohibited the use of Arabic. In reaction, there was a Morisco uprising in the Alpujarras from 1568 to 1571. In the years from 1609 to 1614, the government expelled Moriscos. The historian Henri Lapeyre estimated that this affected 300,000 out of an estimated total of 8 million inhabitants. Some Muslims converted to Christianity and remained permanently in Iberia. This is indicated by a "high mean proportion of ancestry from North African (10.6%)" that "attests to a high level of religious conversion (whether voluntary or enforced), driven by historical episodes of social and religious intolerance, that ultimately led to the integration of descendants." According to historian Richard A. Fletcher, "the number of Arabs who settled in Iberia was very small. 'Moorish' Iberia does at least have the merit of reminding us that the bulk of the invaders and settlers were Moors, i.e., Berbers from Algeria and