Justin Theroux joins McBride, Franco, Portman in Your Highness.

Justin Theroux will play the villain in the upcoming comedy Your Highness, being directed by David Gordon Green.

Theroux joins Danny McBride, James Franco, Natalie Portman and Zooey Deschanel in the film, which centers on an arrogant, lazy prince (McBride) who must complete a quest to save his father’s kingdom. Theroux will play Leezar, an evil wizard with a bejeweled magical staff who kidnaps a princess (Deschanel).

The film, which is shooting in Ireland, was written by Ben Best and McBride, who also is producing.