Media playback is unsupported on your device Media caption Donald Trump delivered a speech to remember to the Boy Scouts of America

Parents have expressed anger after President Donald Trump delivered a highly politicised speech to tens of thousands of boy scouts.

Mr Trump started by saying: "Who the hell wants to speak about politics?"

But his speech to the Jamboree in West Virginia railed against Barack Obama, Hillary Clinton and the "cesspool" of politics, drawing whoops and cheers.

One parent wrote: "Done with scouts after you felt the need to have my kid listen to a liar stroke his ego."

The Jamboree of the Boy Scouts of America is held every four years and drew about 35,000 scouts from the ages of 12 to 18 to the latest event, held in Beaver, West Virginia, on Monday evening.

Media playback is unsupported on your device Media caption What made Trump roll his eyes?

The Jamboree had issued a warning on its blog about being respectful.

It read: "Chants of certain phrases heard during the campaign (e.g. 'build the wall', 'lock her up') are considered divisive by many members of our audience, and may cause unnecessary friction."

But in a rambling 35-minute speech, Mr Trump whipped up a response of boos, cheers, chants and jeers as he lambasted fake news, Hillary Clinton's election campaign and President Obama's failure to address a Jamboree in person.

Image copyright AFP Image caption The whoops and hollers ran contrary to some parents' views of boy scout values

Responding to the criticism of the speech, the Boy Scouts of America insisted it was "wholly non-partisan and does not promote any one position, product, service, political candidate or philosophy".

It said the invitation to Mr Trump was a "long-standing tradition and is in no way an endorsement of any political party or specific policies".

But the Boy Scouts of America Facebook page carried a number of angry posts.

Jude Nevans Cleaver wrote: "I am the proud mother of a former scout who was sheltered from that pack of lies speech at the Jamboree. Done with scouts after you felt the need to have my kid listen to a liar stroke his ego on our time."

Debbie S. Milligan said: "Wow, this is what you are teaching the Boy Scouts? To be disrespectful to a Past President. One that had been a Boy Scout, unlike the current President. Completely disrespectful!"

On Instagram, Pete Souza, the former chief official White House photographer, posted a picture of President Barack Obama meeting a scout.

"I can assure you, POTUS [president of the United States] was not telling this Cub Scout and the Boy Scouts who followed about his electoral college victory," Mr Souza wrote.

Many parents, lobbyists and politicians took to social media to cite the 107-year-old organisation's values, and to suggest Mr Trump had failed them.

Lobbyist for women's and LGBT rights Amy Siskind tweeted: "If the Boy Scouts organization has any decency, they'll come out with a statement tonight denouncing Trump, and giving instructions for all troop leaders to speak to these boys about what they just heard and why it was wrong."

But the tweets were not all anti-Trump, with some praising the scouts for their love of the president.

So what were the memorable moments?

The size of the crowd

A familiar point of contention for the president, who was lambasted in the media over his estimation of the numbers at his inauguration address.

"Boy, you have a lot of people here. The press will say it's about 200 people. (Draws laughter.) It looks like about 45,000 people. You set a record today."

"Fake media, fake media," he says, to boos and cheers.

Boy Scout credentials

Mr Trump says he has 10 ex-boy scouts in his cabinet and in the White House and turns on Barack Obama.

"By the way, just a question: did President Obama ever come to a Jamboree?" Mr Trump asks. The audience shouts "No!". Mr Obama did address the Jamboree by video link in 2010. He was also a former boy scout, unlike Mr Trump.

The election victory

Mr Trump decries the electoral college system but goes through his victories, mentioning state after state to various cheers. He then says he worked hard in Michigan, adding "my opponent didn't work hard there" which draws boos from the audience.

Obamacare and the veiled threat

The audience of youngsters is introduced to former boy scout Tom Price, the health secretary.

He tells Mr Price he had "better get senators to vote" when a showdown on healthcare comes up on Tuesday.

Mr Trump says: "He better get them. He better get them. Oh, he better - otherwise, I'll say 'Tom, you're fired!' I'll get somebody". More applause.

The "sewer"

"You know, I go to Washington and I see all these politicians and I see the swamp and it's not a good place," says Mr Trump.

"In fact, today I said we ought to change it from the word 'swamp' to the word 'cesspool' or perhaps to the word 'sewer'."

Scout values

Mr Trump says: "As the scout law says, a scout is trustworthy, loyal. We could use some more loyalty, I will tell you that."

A nod, perhaps, to the James Comey affair. The sacked FBI chief claimed Mr Trump had demanded loyalty from him, something the president denies.