Few people know that the first draft of the novel Frankenstein came from a contest. Indeed, Mary Godwin (later known as Mary Shelley), Percy Bysshe Shelley, John Pilodori, and Claire Clairmont used to visit Lord Byron during the summer at his house in Geneva (if you did not know, the story Frankestein is set in Swizterland).
In 1816, the bad weather made it impossible for them to enjoy the nature outdoors. To entertain themselves, they read various German ghost stories. Byron proposed the idea that everyone should write their own supernatural/gothic story and see would write the best one.
One night, Mary Shelley had a dream about a corpse that came back to life. Her dream inspired her to write Frankenstein. At first, she wrote it as a short story. However, with Percy’s encouragement, she wrote the full story, which turned out to be a novel.
Buzwell,Greg. “Mary Shelley, Frankenstein and the Villa Diodati.” British Library, http://www.bl.uk/romantics-and-victorians/articles/mary-shelley-frankenstein-and-the-villa-diodati. Accessed 4 April 2017.