 Its reopening had been opposed by mining interests in Potosí and by the mint in Seville, which wanted to continue striking coins from silver sent from Perú.The English corsair Edward Davis and other pirates appeared off the Pacific coast in 1684, beginning hostilities that lasted four years and requiring the viceroy to take costly defensive measures.In 1686 he ordered the construction of city walls in Lima and Trujillo) to defend against pirates.