Image caption McGregor's other roles include the young Obi-Wan Kenobi in the Star Wars films

Ewan McGregor is to make his Broadway debut next year in a revival of Sir Tom Stoppard's 1982 play The Real Thing.

The Trainspotting star will play Henry, a playwright whose marriage comes under strain after he embarks on an affair.

Directed by Sam Gold, the Roundabout Theatre Company's production will run from 2 October 2014 to 4 January 2015.

McGregor, 42, was last seen on stage in 2008, playing Iago opposite Chiwetel Ejiofor's Othello at London's Donmar Warehouse.

He will next be seen on screen in August: Osage County, appearing alongside Meryl Streep and Julia Roberts in the film version of Tracy Letts' Pulitzer-winning stage play.

Roger Rees and Felicity Kendal starred in the original London production of The Real Thing, while Jeremy Irons and Glenn Close won Tonys for their performances when it transferred to Broadway.

Sir Tom, whose other plays include Jumpers, Arcadia and Rosencrantz and Guildenstern are Dead, recently revealed he was finding it increasingly difficult to write for the stage.

McGregor, who was made an OBE this year for services to drama and charity, was among the celebrity guests at a Unicef charity Halloween ball on Thursday.

Steve Coogan, Hugh Grant and James Nesbitt also attended the London event, held to raise money for child refugees in Syria.

The event also saw Robbie Williams perform a duet with Lily Allen, who dressed as a green-skinned alien to sing Dream a Little Dream with the former Take That star.