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
Walerand Teutonicus Walerand Teutonicus Walerand Teutonicus was a Lord Warden of the Cinque Ports during the thirteenth century. A feature of British maritime history of this period was the appointment, generally by county, of one or more "keepers of the coast", which led in time to the consolidation of the powers of the Lord Warden of the Cinque Ports. The office was not continuous, and such men were more often called upon during a time of war, or when a threat was perceived in the Channel. Thus such records have survived for the reign of Edward III of England preceding the Battle