The siege of Granada, the last Moorish stronghold in Spain, ends with the Treaty of Granada.

The Treaty of Granada, also known as the Capitulation of Granada or simply the Capitulations, was signed and ratified on November 25, 1491, between Boabdil, the sultan of Granada, and Ferdinand and Isabella, the King and Queen of Castile, Len, Aragon and Sicily. It ended the Granada War which had started in 1482, culminating in the siege and battle of Granada beginning in spring 1491.

The treaty provided a short truce, followed by the relinquishment in January 1492 of the sovereignty of the Muslim Emirate of Granada (founded in the 13th century) to Catholic Spain. The treaty guaranteed a set of rights to the Moors (Muslim inhabitants), including religious tolerance and fair treatment in return for their surrender and capitulation. The Capitulations granted native Jews in the surrendered territories the choice of either converting to Christianity or migrating to North Africa within a three-year timeline. This was subsequently superseded by the Alhambra Decree of 1492, which forced all Jews in Spain to choose between conversion or expulsion.

The Granada War (Spanish: Guerra de Granada) was a series of military campaigns between 1482 and 1491, during the reign of the Catholic Monarchs Isabella I of Castile and Ferdinand II of Aragon, against the Nasrid dynasty's Emirate of Granada. It ended with the defeat of Granada and its annexation by Castile, ending all Islamic rule on the Iberian peninsula.

The ten-year war was not a continuous effort but a series of seasonal campaigns launched in spring and broken off in winter. The Granadans were crippled by internal conflict and civil war, while the Christians were generally unified. The Granadans were also bled economically by the tribute (Old Spanish: paria) they had to pay Castile to avoid being attacked and conquered. The war saw the effective use of artillery by the Christians to rapidly conquer towns that would otherwise have required long sieges. On January 2, 1492, Muhammad XII of Granada (King Boabdil) surrendered the Emirate of Granada, the city of Granada, and the Alhambra palace to the Castilian forces.

The war was a joint project between Isabella's Crown of Castile and Ferdinand's Crown of Aragon. The bulk of the troops and funds for the war came from Castile, and Granada was annexed into Castile's territory. The Crown of Aragon was less important: apart from the presence of King Ferdinand himself, Aragon provided naval collaboration, guns, and some financial loans. Aristocrats were offered the allure of new lands, while Ferdinand and Isabella centralized and consolidated their power.

The aftermath of war brought to an end coexistence between religions in the Iberian peninsula: Jews were forced to convert to Christianity or be exiled in 1492, and by 1501, all of Granada's Muslims were obliged to convert to Christianity, become slaves, or be exiled; by 1526 this prohibition spread to the rest of Spain. "New Christians" (conversos) came to be accused of crypto-Islam and crypto-Judaism. Spain would go on to model its national aspirations as the guardian of Christianity and Catholicism. The fall of the Alhambra is still celebrated every year by the City Council of Granada, and the Granada War is considered in traditional Spanish historiography as the final war of the Reconquista.