Annie Lennox came out on top of a pirate ship to sing "Little Bird" from Bram Stoker's Dracula.
Big Ben opened the ceremony as a replica of the famous London bell and its bell tower erected in the stadium chimed 10 times, with the audience counting from one to 10.
The comedian and late-night host covered the Beatles during the show.
Darcey Bussell, principal ballerina with the Royal Ballet in London, performs
Madness got the crowd to clap along as they performed their hit "Our House," with the sax player suspended in mid-air at one point to many cheers.
Dancers take part in the closing ceremony.
Kaiser Chiefs lead singer Ricky Wilson was brought by bikers into the stadium, where he joined his bandmates on stage for a song.
The final performers of the night were The Who, fronted by Roger Daltrey, who sang three songs, including "Teenage Wasteland" and closer "My Generation."
Dancers and performers take part in the show.
Rio de Janiero will become the first South American city to host the Summer Games in 2016.
Damon Albarn of Blur performs "Parklife."
Emeli Sande began the night's performances to much applause.
Monty Python member Eric Idle came out of a big cannon to perform "Always Look on the Bright Side of Life."
Fireworks exploded over the Olympic stadium in London at the end of the closing ceremony.
Flags were proudly waved inside Olympic Stadium.
Fireworks lit up Olympic Stadium on Sunday night.
The Olympic flame burned inside Olympic Stadium during the 16 days of the Games.
The word "Freedom" lit up the stadium while the singer sang his hit song.
George Michael sang "Freedom" early in the show. "You are at the center of the universe," Michael said before he launched into a second song, "White Light."
Ray Davies, former singer of The Kinks, sang his love song to London "Waterloo Sunset."
Rio de Janeiro will host the next Summer Olympic Games, in 2016.
Brian May and Jessie J
Queen guitarist Brian May joined Jessie J for "We Will Rock You."
Prince Harry and Kate Middleton
Prince Harry, standing in for Queen Elizabeth II, and Kate Middleton watched the proceedings.
Beady Eye's Liam Gallagher performs his Oasis hit "Wonderwall."
British models Stella Tennant, Lily Cole, Karen Elson, Naomi Campbell, Jourdon Dunn, David Gandy and Kate Moss appeared as part of a London fashion industry tribute.
Muse singer Matt Bellamy performs during the closing ceremon.
Simon Cowell's boy band One Direction entertained the crowd.
Pet Shop Boys
Pet Shop Boys showed up to sing "West End Girls" from the back of a rickshaw pulled by cyclists with unusually shaped red or orange hats. The Pet Shop Boys themselves wore black spikey hats as they performed.
Victoria Beckham -- aka Posh Spice -- reunited with former groupmates the Spice Girls to perform. Her husband, soccer star David Beckham, took part in the Opening Ceremony.
Queen drummer Roger Taylor performs at the Olympic stadium during the closing ceremony.
The Spice Girls
London taxi cabs brought in the Spice Girls for their much-anticipated reunion to much applause. They kicked off with "Wannabe" and also "Spice Up Your Life" as each of the five singers was driven around the stadium on top of a separate taxi. During the performance, the cameras even showed British Prime Minister David Cameron and London Mayor Boris Johnson dancing.
Taio Cruz performed his hit single "Dynamite."
Take That performed "Rule the World" as fireworks lit up the London night sky. The group includs Gary Barlow, whose wife recently had to deal with the loss of their fourth child.
Rio de Janeiro Mayor Eduardo Paes waves the Olympic flag during the closing ceremony.
The Olympics flame is lowered.
The Olympic flame is slowly extinguished inside Olympic Stadium.