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
Portugal in the Middle Ages privileges and favours given to the Roman Catholic Church were compensated. In the papal bull " Manifestis Probatum", Pope Alexander III acknowledged Afonso as King and Portugal as an independent land with the right to conquer lands from the Moors. With this papal blessing, Portugal was at last secured as a country and safe from any Leonese attempts at annexation. In 1184, in spite of his great age, King Afonso of Portugal still had sufficient energy to relieve his son Sancho, who was besieged in Santarém by the Moors. He died shortly after, on December 6, 1185. Afonso had already