 The bailey at York Castle was enlarged slightly in the process; buildings believed to have been inside the bailey at this time include "halls, kitchens, a chapel, barracks, stores, stables, forges [and] workshops".By the time "Domesday Book" was written in 1086, York Castle was also surrounded by a water-filled moat and a large artificial lake called the King's Pool, fed from the river Foss by a dam built for the purpose.More property, including two watermills, had to be destroyed to make way for the water defences.