Walmer Castle against Charles' brother, King James II, the townsfolk of Deal seized Walmer Castle on behalf of William III, the Prince of Orange. By the end of the century, however, the castle was increasingly regarded as out of date from a military perspective. In the 18th century, Walmer Castle became the official residence of the Lord Warden of the Cinque Ports. The Lord Warden was originally a medieval title linked to five key ports along the coast of England; the position's prominence had faded, but it still retained important judicial and military functions. When Lionel Sackville, the Duke of Dorset, was
Lord Warden of the Stannaries November 1197. During the Middle Ages, separate Lords Warden were appointed for Cornwall and Devon at various times and these also acted as Stewards for Duchy estates in those counties. In 1502, Robert, 2nd Lord Willoughby de Broke was appointed as both Lord Steward for Duchy estates in Cornwall and Devon, Lord Warden of the Stannaries in Cornwall and Devon, Master Forester of Dartmoor, and his successors have been granted these offices. The current holder of the post is Nicholas Bacon. For list of Lords Steward and Lords Warden of the Stannaries in Cornwall and Devon, and Vice-Wardens of the