Breck Eisner is directing the supernatural action movie, which also stars Michael Caine and Elijah Wood

Olafur Darri Olafsson, who appeared in the first season of “True Detective,” has been cast as one of the witches battling Vin Diesel in Lionsgate’s supernatural action movie “The Last Witch Hunter,” TheWrap has learned.

Breck Eisner is directing from a script by Burk Sharpless and Matt Sazama, based on a pitch by Cory Goodman. D.W. Harper and Melisa Wallack also worked on the script.

Diesel stars as an immortal witch hunter who partners with his natural enemy, a female witch, to stop the covens of NYC from unleashing a plague on humanity.

Diesel will be the latest movie star to share the screen with Olafsson, who recently worked with Mark Wahlberg in “Contraband,” Ben Stiller in “The Secret Life of Walter Mitty” and Liam Neeson in Scott Frank’s upcoming thriller “A Walk Among the Tombstones.” He also starred in Baltasar Kormakur’s “The Deep” and appeared in multiple episodes of Alan Ball’s Cinemax series “Banshee.”

Additionally, Olafsson shot a recurring role in Charlie Kaufman’s FX pilot “How & Why” and he previously played one of the leads in Jonathan Demme’s AMC pilot “Line of Sight,” where his role was written specifically for him.