During the Civil War (1642–1651) Dover declared for the king but was captured by the Parliamentarians without a siege in 1648. Charles II landed here in 1660 at the restoration, deputizing Bernard de Gomme to make extensive repairs to the pier. On 26 May 1670, Charles II signed a secret treaty here ending the hostilities with Louis XIV of France.