 Complete the following phrase:  In 1725, works were carried out to rebuild the chapel and the main buildings of the hospital and in 1743 a wall was added to prevent the general population from accessing the chapel during times when there were patients held in quarantine. The area was extensively damaged by the 1755 Lisbon earthquake and restoration was only completed in 1786. The role as a quarantine hospital ended in the early 1800s, when the fort was vacated. Repair works were carried out during the 