Television viewers were enchanted as the Queen made a joke about Donald Trump to Sir David Attenborough in their new documentary.

The pair teamed up for ITV programme The Queen’s Green Planet, which examines the Queen’s Commonwealth Canopy, a project to create a network of protected forests around the globe.

In one scene, their conversation in the gardens of Buckingham Palace is interrupted by the sound of a helicopter flying overhead, and the Queen suggests it “sounds like President Trump, or President Obama”.

The remark went down a storm on social media, with many viewers posting crying with laughter emojis.

“I’m living for the Queen’s sassy comment about Trump,” said one person on Twitter, while another posted:

“YASSSS QUEEN !!!”

“Lol at the Queen saying a noisy helicopter sounds like President @realDonaldTrump! I dare him to go on a twitter rant about her!!” said another.

“Adore her,” tweeted another fan, while one person wondered: “Did the queen just throw some shade at president trump?”

Many viewers said the pairing of the Queen and Sir David, who are both 91, was “a dream come true”.

One said: “The Queen and Sir David Attenborough.

Absolutely smashing it.”

“Her gorgeous, cheeky facial expressions and his lovely giggle. The Queen and David Attenborough are the ultimate dream team,” said another.

One viewer said the programme was likely to be a classic, tweeting: “The Queen and David Attenborough are a perfect match. A wonderful programme and it’ll be a classic. Love them both.”