Zac Efron has joined Will Ferrell in an Amazon MGM, currently untitled comedy.

Efron will star as a convict in a story that follows a young convict fresh out of prison who takes a reality TV courtroom hostage, blaming the megalomaniac TV judge, played by Ferrell, for a past ruling that the convict feels ruined his life.

Nicholas Stoller will direct the feature which he also penned. He will also be producing via his Stoller Global Solutions banner, while Ferrell is producing under his Gloria Sanchez Productions outfit.  Gloria Sanchez’s Jessica Elbaum and Alex Brown are also producing.

Also in news – Jake Gyllenhaal set to star in M. Night Shyamalan thriller

Ferrell is currently starring opposite Reese Witherspoon in the ‘You’re Cordially Invited,’ which Stoller also directed.

Efron recently wrapped production on ‘Famous,’ a thriller centred on celebrity in which the actor plays dual roles of a heartthrob actor and overzealous fan.