sentence: water for the castle was originally raised from the courtyard well , but was later piped in from a spring across the valley ; the castle kitchens had acquired running water by the beginning of the 17th century .