It's time for a look at the mind behind the classic novel "Frankenstein."

The biopic "Mary Shelley" is due to hit U.S. theaters soon, and ahead of its launch, the studio has released a new trailer. The preview looks the life of the "Frankenstein" author, how she came up with the horror story, and her battle to be taken seriously. Elle Fanning plays the title character, joined by Douglas Booth as the author's husband, Bel Powley as her stepsister, and Tom Sturridge as Lord Byron, among others.

The preview teases a complicated story, saying that "her greatest love inspired her darkest creation." There are moments of happiness, like when Mary first falls in love with poet Percy Shelley (Booth), but it also hints at loss, betrayal, and death. Watch below.

Directed by Haifaa al-Mansour and written by Emma Jensen, "Mary Shelley" first premiered at the 2017 Toronto International Film Festival. It will open stateside on May 25.