Doctor Who star David Tennant has regenerated as Hamlet.

Tennant is set to appear as the Danish prince in a forthcoming Royal Shakespeare Company (RSC) production.

The actor, 37, appears in the title role of a young man haunted by his father’s ghost and driven to the edge of madness in his obsession to avenge his death.

Tennant drew more than 10 million viewers to the series finale of Doctor Who earlier this month.

He will star in the Christmas special and another three specials next year, but is not confirmed for the next full series of the hit BBC1 sci-fi show, due to be screened in 2010.

Tennant, who played Romeo at the RSC in 2000, has said of appearing in Shakespeare’s great tragedy: “Hamlet is often regarded as the acme of acting to test yourself against, which isn’t a particularly helpful thought, to be honest.

“Of course, it is very flattering to be asked to do that role because of everything that is attached to it. But once you get into rehearsal you have to relinquish thoughts like that and just try and tell the story.

“It’s still just a play and you can’t start approaching it in a different way than you would approach any other role.”

Hollywood star Jude Law is expected to appear in Michael Grandage’s production of Hamlet in the West End next year, while Tennant appears at Stratford-upon-Avon from July 24.