Sir David Attenborough has taken to the stage at Glastonbury to thank festival-goers for cutting their plastic use.

The naturalist appeared shortly before Kylie Minogue's set, and previewed some of his new TV series Seven Worlds, One Planet, which is due to air on BBC One later this year.

Thousands of people had gathered for his unscheduled appearance.

"That is more than a million bottles of water that have not been drunk by you," he told the audience to huge cheers.

"Thank you. Thank you."

The presenter appeared to be overwhelmed by the size of the crowd - re-starting his speech twice after he was drowned out by applause.

Image caption Tens of thousands flocked to the Pyramid Stage to watch the 93-year-old speak

His speech began with a montage of ocean scenes from the natural history series Blue Planet 2.

"Those extraordinary marvellous sounds you've just been listening to were the sounds of the creatures that live in the sea and the great oceans. You may have heard some of them in a series that went out two years ago called Blue Planet 2," Sir David said

"There was one sequence in Blue Planet 2 which everyone seems to remember. It was one in which we showed what plastic has done to the creatures that live in the ocean. They have an extraordinary effect. And now, this great festival has gone plastic-free. That is more than a million bottles of water that have not been drunk by you at Glastonbury. Thank you. Thank you.

"The oceans cover two-thirds of this planet of ours. Land only covers one-third of the globe.

"There are seven great continents on which we human beings live. Each of them has its own marvellous creatures, birds, mammals and animals. Each of them has its own glory. Each of them has its own problems.

"We have been making, for the last four years, a series about those things, about those seven very different continents. It starts later on this year. It's called Seven Worlds, One Planet.

"Here are a few glimpses of what awaits you in the next few months."

The 93-year-old then played a trailer for the series, featuring a new song, Out There, from Australian singer Sia, and film composer Hans Zimmer.

BBC Radio 1 debuted the full track at the same time as the prequel played out across screens at Glastonbury. The prequel was also simultaneously broadcast in almost 50 countries globally at the same time as it was shown to Glastonbury audiences.

Follow us on Facebook, on Twitter @BBCNewsEnts, or on Instagram at bbcnewsents. If you have a story suggestion email entertainment.news@bbc.co.uk.