In pictures - Thank you Tokyo!: Olympics 2020 comes to an end
Tokyo doused its Olympic flame in a ceremony on Sunday that echoed the restraint of a Games that played out without spectators and were defined and transformed by the global pandemic, dazzling sport and deeply personal turmoil.
Take a look:
Moments after the flame was extinguished in the Olympic Stadium a volley of multi-coloured fireworks lit up the night sky about the Olympic Stadium where athletes were already heading for the exits.
They were given a surreal glimpse of everyday Tokyo life when the closing ceremony was briefly transformed into a park with grass, buskers and BMX riders. Organisers said the scene was meant so they could "experience Tokyo", a poignant nod to the fact that many spent their time at the Games cooped up in rooms or competing in venues.
Games during Pandemic!
It was a duly odd closing to a Games that were upended by the pandemic and then transformed by the drama of politics, sport and personal turmoil. The Tokyo Olympics were originally intended to show Japan's recovery from a devastating earthquake, tsunami and nuclear crisis in 2011.
It was also in marked contrast to the far more festive park scene that played out in Paris, where several thousand sports fans waving the tricolour flag thronged into a fan zone across the river from the Eiffel Tower as the French capital prepared to take the Olympic baton from Tokyo for the 2024 Games.
Multi-billion dollar bill
After being postponed for a year, organisers said the Games would serve as a symbol of the world's triumph over the pandemic. Held without spectators and with COVID-19 variants resurgent, the Games fell short of triumph and the financial windfall Japan first sought.
Instead, the host nation is saddled with a $15 billion bill, double what it initially expected, and with no tourist boom to offset it.
The president of the International Olympic Committee (IOC) thanked the Japanese people and touted the Olympics as a symbol of hope during a trying pandemic.
"Nobody has ever organised a postponed Games before," he said.
In Paris, pop music blared out as Tokyo medallists Teddy Riner and Clarisse Agbegnenou bounced on stage. Plans to fly a giant Olympic flag from the Eiffel Tower were abandoned because of strong winds.
France promises a 2024 Summer Olympics "for the people" after the pandemic-hit Tokyo event. In a sign that those days are far from close, though, public entry to the fan zone was permitted only upon presentation of a vaccine certificate or negative COVID-19 test.
Public anger over the pandemic response and a slow-to-start vaccine roll-out have badly damaged Japanese Prime Minister Yoshihide Suga's standing. Public opinion polls showed most Japanese opposed holding the Games during the pandemic.
In a nod to diversity, a victory ceremony was held for the first time for both the women's and men's marathon event. The Kenyan anthem filled the 68,000-capacity stadium twice, for gold medallists Peres Jepchirchir and Eliud Kipchoge.
Still, organisers appear to have prevented the Tokyo Games from spiralling into a COVID-19 superspreader event, notable given that some 50,000 people came together amid the pandemic.
In a sign of the measures, winners accepted their prizes from trays, putting the medals around their own necks, although social-distancing protocols preventing hugging, for example, were largely ignored throughout the Games.
While the bubble the set of venues and hotels to which Olympic visitors were largely confined - appeared to hold, elsewhere some things fell apart. Fuelled by the Delta variant of the virus, daily infections spiked to more than 5,000 for the first time in Tokyo, threatening to overwhelm its hospitals.
Japan's record medal haul also helped to take out some of the sting for organisers. The United States finished top of the tally with 39 gold medals, one more than rivals China at 38 and Japan at 27.