Ferdinand I of Portugal
In 1375 King Ferdinand I of Portugal, under the counsel of João Annes de Almada, ordered the rebuilding of the castle. While the structure was well fortified by 1383, its military importance was progressively diminishing as, more and more, the inhabitants were abandoning the castle for the old village of Sintra.