 The planning of the wall in Lima was under the direction of "Cosmógrafo Real" Juan Ramón Koening (Jean Raymond Coninck).Also in 1686 Spanish forces repelled an attack by Davis.On October 20, 1687, an earthquake destroyed the city of Lima, killing 600 people there and 700 in Callao.