 The Duke used the Church of São Julião as his private chapel until around 1510.Between 1513 and 1520 the medieval church was rebuilt by order of King Manuel I with the help of the local population and the Master of Santiago.The style was the Manueline, the Portuguese variation of late Gothic, as attested by the main and lateral portals of the present church, the sole survivors of the Manueline building.