As once again Dover became the frontier against invasion, the castle's various buildings were used as offices and the network of tunnels expanded to three levels, containing a hospital, a telephone exchange and control rooms. The middle level tunnel, known as Casemate, used existing Georgian underground barracks. The upper tunnels, Annexe, were built between 1941 and 1942 to house the hospital and the lower level, Dumpy, built later.