peter dinklage is setting up to star as another fantasy-based character now that game of thrones is winding down, this time for sony.

according to variety, dinklage is attaching himself to an adaptation of the fable rumpelstiltskin. he will produce as well, along with david ginsberg through estuary films.

the project is still in development and will likely not be the actor's next major film. but, he and sony are said to be making it a high priority.

patrick ness, writer of a monster calls, was hired to pen the script with karen rosenfelt. also producing are circle of confusion’s matt smith and david alpert, and josh weinstock.

not much is known about the project beyond who is involved at this stage. where and when the story will take place is yet to be determined.

related: avengers: infinity war eyes peter dinklage for mystery role

rumpelstiltskin was initially a grimms' fairy tale about a young miller's daughter who made a faustian bargain with an imp. a lie by her father leads to her capture and conscription by the king who demands she spin straw into gold before morning. since there is no way she really can, she is desperate until rumpelstiltskin appears and does it for her.

usually there is a cost for rumpelstiltskin's aid. sometimes it's a necklace but he always comes back later. most versions have him returning years in the future asking for the woman's newborn child unless she guesses his name.

the story has been told and retold numerous times, each with the occasional twist or quirk. in one retelling, rumpelstiltskin rides around on a big flying wooden spoon.

robert carlyle most recently portrayed rumpelstiltskin on abc's once upon a time and a forgotten low-budget, one-off horror movie centering around the character was made in 1995.

peter dinklage appeared in avengers: infinity war as eitrie, the dwarf who forged thor's hammers, and in the oscar winning three billboards outside ebbing, missouri.