In 1671 Morgan attacked Panama City, landing on the Caribbean coast and traversing the isthmus before he attacked the city, which was on the Pacific coast. The battle was a rout, although the privateers profited less than in other raids. To appease the Spanish, with whom the English had signed a peace treaty, Morgan was arrested and summoned to London in 1672, but was treated as a hero by the general populace and the leading figures of government and royalty including Charles II.