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 control investigate immigration violations. The Border Guard has search and rescue (SAR) duties, both maritime and inland. The Guard operates SAR helicopters that are often used in inland SAR, in assistance of a local fire and rescue department or other authorities. The Border Guard shares border control duties with Finnish Customs, which inspects arriving goods, and the Finnish Police, which enforces immigration decisions such as removal. The Immigration Department of Hong Kong (; ; Urdu: امیگریشن آفس) is responsible for border controls of the Hong Kong Special Administrative Regions, including internal controls with the rest of China. After the People's Republic