Following the earthquake, King Joseph I of Portugal and the Portuguese Royal Family established themselves in the western reaches of Lisbon, which survived the earthquake, first at Belém Palace and then at Ajuda Palace.