Inside the castle walls, and surrounded by a moat, up on the hill sets the keep.