In 1469, the crowns of the Christian kingdoms of Castile and Aragon were united by the marriage of their monarchs, Isabella I and Ferdinand II, respectively. 1478 commenced the completion of the conquest of the Canary Islands and in 1492, the combined forces of Castile and Aragon captured the Emirate of Granada from its last ruler Muhammad XII, ending the last remnant of a 781-year presence of Islamic rule in Iberia.