12th-century fortification located in the civil parish of Paderne.
Built 7.5 kilometres (4.7 mi) from the coast in the second half of the 12th century by the Berbers, it is just 8.2 kilometres (5.1 mi) from the resort town of Albufeira, along a bend in the Quarteira River.
It is believed to be one of the original castles that occupy the shield of the Portuguese national flag.