Armie Hammer defended his new film Call Me By Your Name on Sunday.

The story involves the love affair of a 17-year-old with a 24-year-old and critics took to social media to discuss their outrage over the age difference.

However, Hammer, 31, slapped back on Twitter by stating: 'You do know that you live in a state where the age of consent is 16, right….? Ok. Now shut up.'

Defensive: Armie Hammer, 31, defended his new film Call Me By Your Name on Sunday

Hammer dealt with an upset fan who posted: 'Wow, did you act in a film about pedophilia? Are you a pedophile? Do you promote such depravity? I was once a fan. Blech!!'

After explaining the laws of consent to the Twitter user, Hammer added: 'And thank you for your service to our country'

It was also revealed that both the director Luca Guadagnino and lead Timothee Chalamet practiced making love to a peach before filming a racy fruit scene.

Clap back: However, Hammer slapped back on Twitter by stating: 'You do know that you live in a state where the age of consent is 16, right….? Ok. Now shut up.'

Racy: The story involves the love affair of a 17-year-old with a 24-year-old and critics took to social media to discuss their outrage over the age difference

The film is based on the 2007 book of the same name by André Aciman.

It explores the intense relationship between an American-Italian boy Elio (Chalamet) and an American student Oliver (Hammer) who comes to live at Elio’s family’s home for the summer.

One graphic scene in the novel has Elio make love to a peach with Oliver promptly eating it afterwards.

Stone fruit: It was also revealed that both the director Luca Guadagnino and lead Timothee Chalamet, 21, practiced making love to a peach before filming a racy fruit scene

'I was tempted to remove it from the script,' Guadagnino told Out.

'In the book, it is so strong and explicit that I thought it was a metaphor, something that couldn’t exist in real life.

'I was struggling with the possibility that you can masturbate yourself with such a fruit. So I grabbed a peach and I tried, and I have to say—it works.'

Guadagnino added: 'I went to Timothée, and said, "We shoot the scene, because I tried it and it worked." And he said, "I tried, too, and I already knew it worked."'