Mary Wollstonecraft Shelley (nee Godwin; 30 August 1797 - 1 February 1851) was an English novelist, short story writer, dramatist, essayist, biographer, and travel writer, best known for her Gothic novel Frankenstein: or, The Modern Prometheus (1818). She also edited and promoted the works of her husband, the Romantic poet and philosopher Percy Bysshe Shelley. Her father was the political philosopher William Godwin, and her mother was the philosopher and feminist Mary Wollstonecraft.
Lake Geneva and Frankenstein
In May 1816, Mary Godwin, Percy Shelley, and their son travelled to Geneva with Claire Clairmont. They planned to spend the summer with the poet Lord Byron, whose recent affair with Claire had left her pregnant. The party arrived at Geneva on 14 May 1816, where Mary called herself "Mrs Shelley". Byron joined them on 25 May, with his young physician, John William Polidori, and rented the Villa Diodati, close to Lake Geneva at the village of Cologny; Percy Shelley rented a smaller building called Maison Chapuis on the waterfront nearby. They spent their time writing, boating on the lake, and talking late into the night.  "It proved a wet, ungenial summer", Mary Shelley remembered in 1831, "and incessant rain often confined us for days to the house". Sitting around a log fire at Byron's villa, the company amused themselves with German ghost stories, which prompted Byron to propose that they "each write a ghost story". Unable to think of a story, young Mary Godwin became anxious: "Have you thought of a story? I was asked each morning, and each morning I was forced to reply with a mortifying negative." During one mid-June evening, the discussions turned to the nature of the principle of life. "Perhaps a corpse would be re-animated", Mary noted, "galvanism had given token of such things". It was after midnight before they retired, and unable to sleep, she became possessed by her imagination as she beheld the grim terrors of her "waking dream", her ghost story:  I saw the pale student of unhallowed arts kneeling beside the thing he had put together. I saw the hideous phantasm of a man stretched out, and then, on the working of some powerful engine, show signs of life, and stir with an uneasy, half vital motion. Frightful must it be; for supremely frightful would be the effect of any human endeavour to mock the stupendous mechanism of the Creator of the world.  She began writing what she assumed would be a short story. With Percy Shelley's encouragement, she expanded this tale into her first novel, Frankenstein: or, The Modern Prometheus, published in 1818. She later described that summer in Switzerland as the moment "when I first stepped out from childhood into life". The story of the writing of Frankenstein has been fictionalised several times and formed the basis for a number of films.  In September 2011, the astronomer Donald Olson, after a visit to the Lake Geneva villa the previous year, and inspecting data about the motion of the moon and stars, concluded that her waking dream took place "between 2am and 3am" 16 June 1816, several days after the initial idea by Lord Byron that they each write a ghost story.

Q: When did Mary Shelley write Frankenstein?
A: Mary Shelley remembered in 1831,

Q: What did she have to do with Lake Geneva?
A: close to Lake Geneva at the village of Cologny; Percy Shelley rented a smaller building called Maison Chapuis

Q: what did they do while they were there?
A: They spent their time writing, boating on the lake, and talking late into the night.  "

Q: What did they write while they were there?
A: Byron to propose that they "each write a ghost story".

Q: Did they write the ghost story?
A: she became possessed by her imagination as she beheld the grim terrors of her "waking dream", her ghost story:

Q: how did that end for her?
A: She began writing what she assumed would be a short story. With Percy Shelley's encouragement, she expanded this tale into her first novel, Frankenstein:
was Frankenstein successful?
The story of the writing of Frankenstein has been fictionalised several times and formed the basis for a number of films.
The story of the writing of Frankenstein has been fictionalised several times and formed the basis for a number of films.