william conducted a widespread sequence of punitive operations across the north of england in the aftermath of the attacks in 1069 and 1070. this "harrying of the north" restored sufficient order to allow the rebuilding of the two castles, again in wood. 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. over time the baile hill site was abandoned in favour of the first castle site, leaving only the motte, which still exists.