John V of Portugal
The palace was constructed by order of King John V of Portugal in the mid-18th century for his mistress Paula Teresa da Silva e Almeida, a nun of the Monastery of São Dinis in Odivelas, Portugal.