Абд ар-Рахман III
Abd-ar-Rahman III, Caliph of Cordoba, conquered the town in 929 and provided it with towers. The size of these works reflected the economic and strategic importance the town enjoyed, which had a privileged access to Muslim Silves.