The site of the Pena Palace originally housed a small chapel dedicated to Our Lady of Pena. In 1503, King Manuel I replaced it with a monastery for the Order of Saint Jerome. This secluded religious retreat stood for over two centuries until the devastating 1755 earthquake reduced it to ruins.