The San Miguel earthquake damaged the city considerably, to the point that some rooms and walls of the Royal Palace were destroyed. There was also a partial abandonment of the city, food shortages, lack of manpower and extensive damage to the city infrastructure; not to mention numerous dead and injured. These earthquakes made the authorities consider moving to a new city less prone to seismic activity. City residents strongly opposed the move, and even took to the Royal Palace in protest; in the end, the city did not move, but the number of elements in the Army Battalion to safeguard the order was considerable. The damage to the palace was repaired by Diego de Porres, who finished repairs in 1720; although there are indications that there were more jobs done by Porres until 1736.