Will Ferrell cast as 'Two Face'

Rex Features

Will Ferrell has been cast as the lead in Sony's comedy Two Face, reports Variety.

Vince Gilligan's script revolves around a racist man who develops a split personality after a prank backfires.

Ferrell has been interested in the project for several years, but the recent success of the Gilligan-scripted Hancock has prompted Sony to move forward with the film.

Mark Johnson and Jimmy Miller will serve as producers on Two Face.

Ferrell is hoping to star in the film prior to shooting a Sherlock Holmes comedy with Sacha Baron Cohen.