She was staying at a villa on the shores of Lake Geneva with her husband, Percy Shelley, Lord Byron, and other literary friends. The group was forced indoors by bad weather, and to entertain themselves, they decided to have a writing contest. The prompt was to write a ghost story, and Mary's contribution became *Frankenstein*.