Click to email this to a friend (Opens in new window)

Actor Rami Malek had a request before he took the role as villain in the upcoming James Bond movie — the baddie couldn’t be a religious extremist, the actor revealed in an interview published Wednesday.

Malek, who is of Egyptian descent, told British newspaper the Daily Mirror that he drew a line in the sand with director Cary Fukunaga before accepting the role in “Bond 25.”

“I said, ‘We cannot identify him with any act of terrorism reflecting an ideology or religion. That’s not something I would entertain, so if that is why I am your choice, then you can count me out,'” Malek told the newspaper.

The “Mr. Robot” star said it was clearly not Fukunaga’s intention to cast him as that sort of character, saying the villain will be a “very different kind of terrorist.”

The upcoming Bond film, which has a tentative release date in the spring of 2020, will be the last film to feature British actor Daniel Craig as 007.

Filming for the action flick has hit a few hiccups in recent months, with Craig sustaining an ankle injury last month and singer Grace Jones walking away from a cameo role in the movie.