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
Castles in Portugal towers. By 1249 the Moors had been expelled from southern Portugal and the nation became the first in Europe to take on its modern borders. The focus of Portuguese castles during this period shifted from lines along east to west flowing rivers, to the towns along the long Portuguese border with rival Castile. The pinnacles of this period were the 13th-century castles built under King Denis, who rebuilt almost every major castle in the land. Until Denis, Portugal’s castles were usually just a three-story keep with one or two rings of walls. New tower keeps were built like the one