Portugal–Spain relations of Enlightenment. Until then the word Spain (Hispânia) was only a geographic location referring exclusively to the Iberian peninsula. It was only in the constitution of 1812 that the name "Españas" (Spains) was adopted for the country along with the use of the title of "king of the Spains". The constitution of 1876 adopts for the first time the name "Spain" for the Spanish state and from then on the kings would use the title of "king of Spain". Portugal, Castille and Aragon were allies in the "Reconquista" in which they reconquered land from the Muslim Moors in the south
Border of Granada other municipalities in the Huelva province, which include ""de la Frontera"" in their names. However, these do not refer to the Border of Granada border, but to the border with Portugal. This is the case with Rosal de la Frontera and Palos de la Frontera. The first frontier was defined by the Pact of Jaén in 1246 between Muhammad I "ibn al-Ahmar", first king of Granada, and King Fernando III 'El Santo', following extensive conquests by the latter in the valley of the Guadalquivir. The border then went through modifications during the reigns of Sancho IV, Fernando IV and Alfonso