IFC Films has acquired U.S. rights to Haifaa Al-Mansour’s biopic “Mary Shelley,” starring Elle Fanning.

The movie, which debuted at the Toronto Film Festival, also stars Douglas Booth, Bel Powley, Maisie Williams (“Game of Thrones”), Tom Sturridge, and Ben Hardy.

Based on a screenplay by Emma Jensen, “Mary Shelley” was produced by Amy Baer through Gidden Media together with Ruth Coady and Alan Moloney from Parallel Films. The story centers on teenager Mary Wollstonecraft finding a kindred spirit in poet Percy Shelley. When tragedy strikes and the couple lose their baby daughter, Mary writes the world’s first science fiction novel, “Frankenstein.”

The deal was negotiated between IFC Films and the UTA Independent Film Group on behalf of the filmmakers together with HanWay Films.

In addition to the previously announced deals in the U.K. (Curzon) and Canada (Search Engine), HanWay Films has also closed deals with Pyramide (France), Prokino (Germany and Austria), Notorious (Italy), Filmax International (Spain), Paradiso (Benelux), Nonstop (Scandinavia), GAGA (Japan), Transmission (Australia/New Zealand), and Challan (South Korea).

“She chose to write a book so outside of the ‘acceptable’ realms of literature for women, and created a genre (science fiction) that is still dominated by male voices,” Al-Mansour said of Shelley.