Jamie Foxx is set to star as the US President in 'White House Down'.

The 'Django Unchained' actor is considering the role in director Roland Emmerich's new thriller, about a secret service agent who must act when the White House comes under attack and everyone inside, including the president, is held hostage.

Although The Deal has not been finalised, Jamie is said to be intrigued by the presidential role, and his representatives have reached out to the filmmaker about the part.

Channing Tatum is in talks to play the agent who must save the president when 1600 Pennsylvania Avenue is taken over by a paramilitary group.

'Zodiac' and 'The Amazing Spider-Man' writer James Vanderbilt has penned the screenplay, with production expected to start later this year for a 2013 release.

'White House Down' would be the second upcoming action film about the White House, after 'Olympus Has Fallen', which is set to star Gerard Butler.

Jamie, who was last seen in Seth Gordon's comedy 'Horrible Bosses' can next be seen in Quentin Tarantino's 'Django Unchained'.