These are external links and will open in a new window
Image copyrightMatt CardyImage caption
The rain moved away from the site to reveal a stunning sunset on Sunday evening.
Image copyrightGetty ImagesImage caption
Revellers in the Block 9 area danced until dawn on Sunday.
Image copyrightAFPImage caption
Weary festival-goers began leaving Worthy Farm at sunrise on Monday.
Image copyrightAFPImage caption
And now it's time for the great Glastonbury clean-up to begin.
Image copyrightPAImage caption
Kasabian headlined the festival for the first time on Sunday night.
Image copyrightReutersImage caption
Dolly Parton took the stage by storm in the Sunday afternoon "legends" spot.
Image copyrightPAImage caption
Plenty of Dolly fans dressed up as the global star, who drew a bigger crowd than headliners Arcade Fire, Metallica and Kasabian.
Image copyrightAFP/GettyImage caption
Thousands of people packed the field in front of the festival's main stage for the performance.
Image copyrightPAImage caption
Ed Sheeran also proved a hit on the Pyramid Stage on Sunday.
Image copyrightGetty ImagesImage caption
The English National Ballet performed Dust on the final day of the festival.
Image caption
Yoko Ono took to the stage with the Plastic Ono band.
Image copyrightPAImage caption
As always there have been plenty of weird and wonderful sights at the festival - including these performers in the theatre field.
Image copyrightPAImage caption
Newly-weds Craig Reilly and Hannah Lomas honeymooned at the festival.
Image copyrightPAImage caption
1975 singer Matthew Healy during his band's Pyramid stage debut .
Image copyrightPAImage caption
Glastonbury attracts music fans of all ages - but it seems the excitement proved too much for Wilf, 14 months, from Bristol.
Image copyrightReutersImage caption
Lana Del Rey's husky, melancholic tones matched the weather as she took to the stage on Saturday afternoon.
Image copyrightPAImage caption
Ricky Wilson's Kaiser Chiefs performed a surprise set on Friday.
Image copyrightPAImage caption
Win Butler of headline act Arcade Fire took a photo on the Pyramid Stage on Friday.
Image copyrightAPImage caption
A mobile sculpture by Banksy titled Sirens of the Lambs is driven round Worthy Farm, the home of Glastonbury. It was designed to highlight the issue of animals being farmed for their meat.
Image copyrightPAImage caption
The rain was torrential at some points during the day on Friday.
Image copyrightAPImage caption
While most revellers were resigned to grin and bear it, not everyone was putting on a brave face in the rain.