The Catholic Monarchs were Queen Isabella I of Castile and King Ferdinand II of Aragon, whose marriage and joint rule marked the de facto unification of Spain. They were both from the House of Trastámara and were second cousins, being both descended from John I of Castile; to remove the obstacle that this consanguinity would otherwise have posed to their marriage under canon law, they were given a papal dispensation by Sixtus IV. They married on October 19, 1469, in the city of Valladolid; Isabella was 18 years old and Ferdinand a year younger. It is generally accepted by most scholars that the unification of Spain can essentially be traced back to the marriage of Ferdinand and Isabella. Their reign was called by W.H. Prescott "the most glorious epoch in the annals of Spain".
Spain was formed as a dynastic union of two crowns rather than a unitary state, as Castile and Aragon remained separate kingdoms until the Nueva Planta decrees of 1707–16. The court of Ferdinand and Isabella was constantly on the move, in order to bolster local support for the crown from local feudal lords. The title of "Catholic King and Queen" was officially bestowed on Ferdinand and Isabella by Pope Alexander VI in 1494, in recognition of their defence of the Catholic faith within their realms.
At the time of their marriage on October 19, 1469, Isabella was eighteen years old and the heiress presumptive to the Crown of Castile, while Ferdinand was seventeen and heir apparent to the Crown of Aragon. They met for the first time in Valladolid in 1469 and married within a week. From the start, they had a close relationship and worked well together. Both knew that the crown of Castile was "the prize, and that they were both jointly gambling for it". However, it was a step toward the unification of the lands on the Iberian peninsula, which would eventually become Spain.
They were second cousins; to marry they needed a papal dispensation. Pope Paul II, an Italian pope opposed to Aragon's influence on the Mediterranean and to the rise of monarchies strong enough to challenge the Pope, refused to grant one, so they falsified a papal bull of their own.