London brought the curtain down on a hugely entertaining Olympics with a sensational rock 'n roll nostalgia tour of a closing ceremony that thrilled the London night with top-of-the-chart classics, supermodels and psychedelic mayhem.
After a glorious two weeks of never-to-be-forgotten moments that left Britain exhausted, exhilarated and deeply proud, organizers handed the baton to 2016 host Brazil, which must now take up the Herculean task of matching them.
Judging by the swaying samba of Marisa Monte and the sexy baritone of Seu Jorge in Brazil's eight-minute musical and visual postcard for the 2016 games, they look to be off to a foot-stomping start.
But Sunday was all about Britain.
The three-hour extravaganza offered a sensory blast including rock 'n' roll rickshaws, dustbin percussionists, an exploding yellow car and a marching band in red tunics and bearskin hats.
The Spice Girls staged a show-stopping reunion, and Monty Python's Eric Idle sauntered through "Always Look on the Bright Side of Life" — accompanied by Roman centurions, Scottish bagpipers and a human cannonball.
It all made for a madcap mashup that had 80,000 fans at Olympic Stadium stomping, cheering and singing along. Organizers estimated 300 million or more were watching around the world.
What a way to end a games far more successful than many Londoners expected. Early security glitches were conquered with the help of the military, road traffic was manageable and the wettest early summer on record gave way to mostly sunny skies. More importantly, British athletes overachieved.
It all came with a price tag of $14 billion — three times the original estimate. But nobody wanted to spoil the fun with such mundane concerns, at least not on this night.
"We lit the flame, and we lit up the world," said London organizing committee chief Sebastian Coe. "When our time came, Britain, we did it right."
International Olympic Committee President Jacques Rogge declared the Olympics over with praise for the athletes.
"Through your commitment to fair play, your respect for opponents, and your grace in defeat as well as in victory, you have earned the right to be called Olympians," he said, adding: "These were happy and glorious games."
But the night was about splash more than speeches.
Festive and fast-moving, the ceremony opened with pop bands Madness, Pet Shop Boys and One Direction, a shout-out to Winston Churchill and a tribute to the Union Jack — the Olympic Stadium floor arranged to resemble the British flag.
Monochrome recreations of London landmarks were covered in newsprint, from Big Ben's clock tower and Tower Bridge to the London Eye ferris wheel and the chubby high-rise known as the Gherkin.
Street percussion group Stomp built the noise into a frenzy, and dancers brandished brooms, in a nod to the spontaneous popular movement to clean up London after riots shook neighbourhoods not far from Olympic Stadium just a year ago.
Liam Gallagher performed "Wonderwall," a 1990s hit by his former band, Oasis, Muse rocked the house with the hard-edged Olympic anthem "Survival," and Queen guitarist Brian May was joined by singer Jessie J for a crowd-pleasing "We Will Rock You."
The headline performers were each paid a pound, a little more than $1.50.
The night ended with the extinguishing of the multi-petaled Olympic cauldron and a supercharged rendition of "My Generation" and other classics by The Who that had the crowd dancing in the aisles. Confetti rained down, and fireworks lit up the sky.
Prince William's wife, Kate, and Prince Harry took seats next to Rogge. They sang along to "God Save the Queen." There was no sign of the queen herself, who made a memorable mock parachute entrance at the July 27 opening ceremony.
Following Olympic tradition, the 10,800 athletes of the London Games marched in as one rather than with their nations, symbolizing the harmony and friendship inspired by the games.
As the crowd cheered their heroes and flashbulbs rippled through the stadium, the Olympians cheered back, some carrying national flags, others snapping photographs with smartphones and cameras.
They held hands, embraced and carried each other on their shoulders, finally forming a human mosh pit on the field.
Soccer star Christine Sinclair, known for her serious, focused demeanour on the pitch, was absolutely beaming as she brought the Canadian flag into Olympic Stadium with the nation's other flag-bearers.
The rest of the Canadian contingent followed soon after, dressed in denim jackets and khakis. Canada's outfits received mixed reviews on Twitter, with some planning to purchase their own jackets and others decrying the getup as stereotypical.
"Amazing. Great to walk in all together with many nations and athletes," said Canadian chef de mission Mark Tewksbury during the ceremony. "The pageantry of the flags coming into the stadium really made it sink in for me. We are being bombarded with great British pop."
The ceremony had something for everyone, from tween girls to 1960s hippies. The face of John Lennon appeared on the stadium floor, assembled by 101 fragments of sculpture, and just as quickly gave way to George Michael, Fatboy Slim and Annie Lennox.
Britons, who had fretted for weeks that the games would become a fiasco, were buoyed by their biggest medal haul since 1908 — 29 golds and 65 medals in all.
The United States edged China in both the gold medal and total medal standings, eclipsing its best performance at an Olympics on foreign soil after the Dream Team narrowly held off Spain in basketball for the country's 46th gold.
While the games may have lacked some of the grandeur of the Beijing Olympics in 2008, there were more than a few unforgettable moments.
Jamaican sprinter Usain Bolt became an Olympic legend by repeating as champion in both the 100-meter and 200-meter sprints. Michael Phelps ended his long career as the most decorated Olympian in history.
British distance runner Mo Farah became a national treasure by sweeping the 5,000- and 10,000-meter races, and favourite daughter Jessica Ennis became a global phenomenon with her victory in the heptathlon.
Female athletes took centre stage in a way they never had before. American gymnast Gabby Douglas soared to gold and the U.S. soccer team made a dramatic march to the championship. Packed houses turned out to watch the new event of women's boxing. And women competed for Saudi Arabia, Qatar and Brunei for the first time.
And then there was Oscar Pistorius, the double-amputee from South Africa running on carbon-fiber blades, who didn't win a medal but nonetheless left a champion. And sprinter Manteo Mitchell, who completed his leg of the 4x400 relay semifinal on a broken leg, allowing his team to qualify and win silver.
Britons seemed exhausted and exhilarated after two glorious weeks in the world's spotlight, just months after the country celebrated the queen's 60th year on the throne with a magnificent pageant and street parties.
Some at Olympic Park acknowledged happy surprise that not much had gone wrong, and so much had gone right.
"I was a bit worried we wouldn't be able to live up to it," said Phil Akrill of Chichester. "But walking around here it's just unbelievable."
Even non-Brits were proud of their adopted homeland.
"It's just been a really nice thing to see," said Anja Ekelof, a Swede who now lives in Scotland. "The whole country has come together."
Associated Press writers Fergus Bell and Jill Lawless contributed to this report.
Follow Paul Haven on Twitter: http://www.twitter.com/paulhaven.