Spider-Man director Sam Raimi is currently in talks with Lionsgate to take the helm on the adaptation of The Kingkiller Chronicle.

Lionsgate has already nabbed Hamilton and La La Land musical genius Lin-Manuel Miranda as the creative producer and music creator for the film which is based on Pat Rothfuss’ classic novels of the same name.

The Kingkiller Chronicle is a fantasy series telling the story of Kvothe, an adventurer and famous musician. Much of the story is autobiographical, being told by Kvothe to a scribe. The first two books, The Name of the Wind and The Wise Man’s Fear, were released in 2007 and 2011 and went on to sell over ten million copies.

The plot is divided into two different action threads: the present, in which Kvothe tells the story of his life to Devan Lochees (known as Chronicler) in the Waystone Inn, and Kvothe’s past, which makes up the majority of the first two books. The present-day interludes are in the third person from the perspective of multiple characters, while the story of Kvothe’s life is told entirely in the first person from his own perspective.

The series also contains many metafictional stories-within-stories from varying perspectives, most of which are recounted by Kvothe, having been heard from other characters in his past.

The film is said to be based on the first book in the series, The Name of the Wind and is penned by Lindsey Beer. A Kingkiller Chronicle TV series is also in development at Showtime.

This project will be Raimi’s first time back in the director’s chair since 2013’s Oz The Great and Powerful. He has spent most of his time since then as a producer for TV and film on projects such as Don’t Breath, Ash Vs Evil Dead and Poltergeist.