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 Reivers were other factors which promoted a predatory mode of living in the Borders. A system of inheritance called gavelkind meant that estates, and particularly land, were divided equally between all sons on a man's death; although this was considered more fair than primogeniture, it also meant that many people owned insufficient land to survive. Also, much of the border region is mountainous or open moorland, unsuitable for arable farming but good for grazing. Livestock was easily rustled and driven back to raiders' territory by mounted reivers who knew the country well. The raiders also often removed easily portable household goods