This castle belonged to D. Afonso VI, the father in-law of the 1st King of Portugal D. Afonso Henriques, also called the 'Conquistador'.
He fought and got rid of the Muslims, the Spanish, and all Arabs.
He was the best fighter of all the Portuguese kings.
That's why they named him 'The Conquistador'. His big sword weights 50 Kilos.