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
Hubert de Burgh, 1st Earl of Kent Burgh is cited as having been appointed at some time before 1215 Lord Warden of the Cinque Ports, which position later, after the Baron's War, carried with it ex officio the Constableship of Dover Castle. In the case of de Burgh however, a rather long period seems to have elapsed between the two appointments. Sometime after 1215, De Burgh started building a castle in Hadleigh having been rewarded the land by King John. The licence to crenellate was retrospectively given in 1230, at which point that original castle had been completed. After falling out with King Henry III, De Burgh