In summer 1816, Lord Byron challenged four friends staying at the Villa Diodati to write a ghost story. A few nights later, Mary had a vision, based on a dream 15 months earlier, of her daughter, who had lived 11 days, being brought to life by the warmth of a fire. With the encouragement of her husband, Percy Bysshe Shelley, she produced a novel 11 months later. "Frankenstein" was eventually published in early 1818.