monastery a royal funerary monument, prohibiting anyone but the royal family and the Hieronymite monks from entering the building. A new portal was constructed in 1625, as well as the cloister door, the house of the doorkeepers, a staircase and a hall that was the entrance to the upper choir designed by the royal architect Teodósio Frias and executed by the mason Diogo Vaz. In 1640, the prior Bento de Siqueira ordered construction of the monastery's library, where books owned by the Infante Luís (son of King Manuel I) and others linked to the religious order were deposited. With the restoration of Portuguese Independence in 1640, the monastery regained much of its former importance, becoming the burial place for the royal pantheon; within its walls four of the eight children of John IV of Portugal were entombed: the Infante Teodósio (1634–1653), the Infanta Joana (1636–1653), King Afonso VI (1643–1683) and Catarina de Bragança (1638–1705). In 1682 the body of Cardinal Henrique was buried in the transept chapels. On 29 September 1855, the body of King Afonso VI was transported to the royal pantheon of the House of Braganza in the Monastery of São Vicente de Fora, along with his three brothers and sister. In 1663, the Brotherhood of the Senhor dos Passos occupied the old Chapel of Santo António, which was redecorated with a gold tiled ceiling in 1669, while the staircase frescos with the heraldry of Saint Jerome were completed in 1770. The retables were completed in 1709 and 1711, valuable alfaias were presented to the religious order, and the sacristy was redecorated in 1713. The painter Henrique Ferreira was commissioned in 1720 to paint the Kings of Portugal: the regal series was placed in the Sala dos Reis (Hall of the Kings). Henrique Ferreira was also commissioned to complete a series of nativity paintings. The monastery withstood the 1755 Lisbon earthquake without much damage: only the balustrade and part of the high choir were ruined, but they were quickly repaired. On 28 December 1833, the Jerónimos Monastery was secularised by state decree and its title transferred to the Real Casa Pia de Lisboa (Pious Royal House of Lisbon) to serve as a parochial church for the new civil parish of Santa Maria de Belém. Many of the artworks and treasures were either transferred to the crown or lost during this period. It was vacant most of the time