Viceroys had to protect the Pacific coast from French contraband and English and Dutch pirates. They expanded the naval forces, fortified the ports of Valdivia, Valparaíso, Arica and Callao and constructed city walls in Lima (1686) and Trujillo (1685–1687). Nevertheless, the famous Welsh privateer Henry Morgan took Chagres and captured and sacked the city of Panama in the early part of 1670. Also Peruvian forces repelled the attacks by Edward David (1684 and 1686), Charles Wager and Thomas Colb (1708). The Peace of Utrecht allowed the British to send ships and merchandise to the fair at Portobello.