History of Portugal the Moors in 1249, and in 1255 the capital shifted to Lisbon. Neighboring Spain would not complete its "Reconquista" until 1492, almost 250 years later. Portugal's land boundaries have been notably stable for the rest of the country's history. The border with Spain has remained almost unchanged since the 13th century. The Treaty of Windsor (1386) created an alliance between Portugal and England that remains in effect to this day. Since early times, fishing and overseas commerce have been the main economic activities. During the 15th and 16th centuries, Portugal became a leading European power that ranked with England, France
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