Саншу I
In 1144, Afonso Henriques reconquered the redoubt, and from 1145 his forces began the task of restoring and expanding the defenses: it was Sancho I of Portugal who finally completed the project in the 12th century. The efforts were for not, as the Leonese raised the castle in 1212, during their invasion. In 1290, Denis of Portugal began the reconstruction, with emphasis on defense from its neighbors.