Almeida, Portugal the current name was first used, in the form of the Arabic "al-Ma'ida" ('the plateau'). The village of Almeida was captured from the Moors by the second king of Portugal, Sancho I in the 12th century because of its strategic position on the new country of Portugal's border with Spain. So important to the security of the country, Sancho had the village heavily fortified. The castle was refortified on three further occasions by King Dinis, King Manuel I and by King João VI. The present 12 pointed star fortification was constructed in 1641 to a Vaubanesque plan on which the
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