Sancho II
In the 13th century, the castle was destroyed during battles between D. Sancho II and Afonso III.