Postpublished at 03:00
That was the Rio Olympic Games. Now, they are done.
See you in Tokyo.
Rio 2016 Olympics declared closed
Games hailed as "marvellous" by Olympic chief Thomas Bach
Tokyo take over the Olympic flag
Gold-winning hockey captain Kate Richardson-Walsh carries GB's flag
GB finish on 67 medals ahead of China in second place on the medal table
Stephan Shemilt
That was the Rio Olympic Games. Now, they are done.
See you in Tokyo.
Thanks for your company over the past two weeks, whether you've followed on TV, radio or online. We'll be back here with every moment from the Paralympics on 7 September.
And we're nearly done.
After 16 days, 11,303 athletes competing under 207 different flags for 306 gold medals, the 2016 Rio Olympic Games are over.
The BBC TV coverage has just closed with an outstanding montage to a quite brilliant cover of Feeling Good. Find it if you can. It gave me a little lump in the throat.
Do you want one more iconic moment from these Olympic Games? It can only be from one man, right?
Sad it's all over? Wondering what on earth you're going to do now? Fear not, the Paralympics are just over two weeks away. They will be a fine distraction from reality.
I wonder how long the party will carry on in Rio tonight? The celebrations are perhaps only just getting started, but the flame has gone out. The Olympics are now Tokyo's show.
And that is that. The fireworks are over, but the music and dancing continues. The fans and the athletes will file out of the Maracana, slipping away into the Rio night. Those last 20 minutes were spectacular.
James Cracknell
Double Olympic Rowing gold medallist
The best performance came from Alistair and Jonny Brownlee in the triathlon.
They put themselves in the lead group in the swimming and when they realised Mola (the fast running Spaniard) wasn’t in the first group they drove the cycle group they were in – physically and verbally so they could distance Mola thus making his running speed irrelevant.
Expending that much energy that early in the race could have gone wrong but they backed themselves, each other and their training.
Still the fireworks shoot, still we dance to the samba beat. It's an incredible display and a helluva finale.
Here we go, more fireworks, white lights sweeping around the roof of the stadium, with a red heart then fired into the night. It's an incredible display, the whole of Rio being illuminated with the reds, blues, whites and greens.
The athletes that have braved the rain are reaping the rewards, dancing to the samba beat. You'd struggle not to have a good time in this atmosphere.
Mark Chapman
BBC Sport presenter
I’ve got two moments. Andy Murray and Juan Martin del Potro hugging at the net after their epic final. A brutal game that had everything and at the end of their duel they demonstrated such respect and empathy for each other.
And Usain Bolt and Andre de Grasse crossing the line and smiling at each other. Sport first and foremost should be fun. No other image captures the fun and enjoyment like this one.
This is top notch. Music, dancing, colour, a proper carnival. Floats are arriving the stadium, with confetti falling from the roof. It's the party we wanted and a great send-off, what a closing ceremony should be.
Where else would you see a famous bin man dancing with a super model? That's what we've got here. Renato Sorriso, a superstar in Brazil, is moving his fast feet with Izabel Goulart. I'd be stunned if a snap of that isn't in the papers tomorrow.
Dan Walker
BBC TV presenter
I go for Maria (hen party gatecrashers) because the Olympics is about sport but the event is about people. Brazil is a very different country now to the one it was when it was awarded the games.
We were determined to use our spot on Copacabana beach to have some fun but also meet as many residents of Rio as possible and find out what the Brazilians thought about it all.
Maria wandered by, we took a chance that she would be a good guest and she was brilliant. There have been some wonderful sporting moments during these games but I will never forget Maria De Cezar and I wish her and her husband-to-be every happiness
The Olympics are officially closed, the flame has gone out, but Rio is still having a party. Samba, dancing, colours. Everything you would expect from a Brazilian knees-up. This will go long into the night, probably anywhere they are serving alcohol.
Hazel Irvine
BBC Sport presenter
The men's football final topped the lot. In 2014, Brazil lost 7-1 to Germany in the semi-final of their home World Cup. So, to win against Germany in the Maracana stadium was deeply and doubly meaningful for this nation.
Add to that the fact that Neymar's penalty secured for Brazil their sixth gold medal, which makes these the most 'Golden" in the country's history - and in their first home Games - and you have a heady cocktail of emotion, catharsis and unconfined joy, the likes of which I have seldom experienced.
It was utterly glorious! It is the reason why I love the Olympics.