 By the 19th century , gardens were created within the castle 's enclosure . Charles Dickens lived in Rochester and included the castle ruins in The Pickwick Papers and The Mystery of Edwin <unk> . Through the words of one of his characters , Dickens described the castle as a " glorious pile – frowning wall – tottering arches – dark nooks – crumbling stones " . Many of England 's historic buildings , particularly ruins , have acquired myths and legends , and some are rumoured to be haunted . Rochester is no exception , and is reportedly haunted by a white lady . Dickens is also said to haunt the moat on Christmas Eve . 
