That was the Rio Olympic Games. Now, they are done.
See you in Tokyo.
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.
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.
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.
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.
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.
The flame has gone, bright white fireworks shoot from the roof of the stadium, captured by a camera outside. The Maracana is an illuminated beacon in Rio. That was spectacular.
I'll be honest, it looked a little like dancing broccoli. Now, in front of the rotating sculpture that starred in the opening ceremony Mariene de Castro sings under a cascade of fake rain. I'm not sure that was needed this evening.
Stick with it, there's only about 25 minutes to go. Remember the fluffy green and yellow outfits we saw earlier? They are out there now, joined by red and a hint of purple. This is a tribute to Rio and the musicality of its people. Basically, we're having a carnival.
IOC president Thomas Bach brings the formalities to an end.
"I declare the games of the 31st Olympiad closed.
"I call upon the youth of the world to assemble in Tokyo, Japan to celebrate the Games of the 32nd Olympiad. Bye, bye Rio."
More from IOC president Thomas Bach: "Together we can go even further. Together, we can aim higher. United in our diversity, we are even stronger.
"Thank you refugee athletes. You have inspired us with your talent and human spirit, you are a symbol of hope for millions of refugees in the world. We will continue to be at your side after these Olympics.
"These were a marvellous Olympic Games in THE marvellous city. These Games are leaving a legacy for generations to come. History will talk about the Rio before the Olympic Games and a much better Rio after the Olympic Games.
"We arrived in Brazil as guests, today we depart as your friends. You will have a place in our hearts for ever."
IOC president Thomas Bach: "Congratulations Brazil.
"Brazil, we love you. Thank you for your warm hospitality. For the last 16 days a united Brazil inspired the world.
"You have many reasons to be proud. These Olympic Games show diversity is an enrichment for everyone. These Olympic Games were a celebration of diversity."
Hmmmm, it has been a bit soggy at the Maracana. So much so that some of the athletes called it a day before the end. There will be some wet Olympians at wrap parties all over Rio.
More fromCarlos Arthur Nuzman, the president of the Rio 2016 Organising committee: "Twenty-seven world records and 91 Olympic records. We have organised a marvelous Olympics in a marvelous city.
"When we won the Games I said Rio was ready to make history. Rio has delivered history. Good luck for Tokyo 2020."
Carlos Arthur Nuzman, the president of the Rio 2016 Organising Committee: "We have organised the most important event in the world. This is a magic place.
"It was a great challenge, but a challenge with great success. I'm proud of the city, my country and my people.
"All Brazilians are Olympic heroes. We celebrate together. You are the gold medal of the people on all the planet."
Watch this, Japan's section of the closing ceremony. What a way to announce you arrival. Excitement levels raised for 2020.
Olympic cycling gold medalist
Charlotte Dujardin and Valegro winning individual dressage gold.
It was a perfect performance and very emotional as it will probably be the last time they ride in a competition together.
Charlotte knew the performance was good and welled up as soon as they finished. It made me well up too. I now understand the connection between horse and rider.
Speeches time. President of the organising committee Carlos Nuzman and IOC president Thomas Bach. There's not many people watching fellas, so don't be nervous.
"See you in Tokyo" is the message, followed by bright fireworks shooting into the night sky. That's may favourite part of the night so far.
This is outstanding. The Prime Minister of Japan has appeared out of Super Mario-style water pipe, wearing a Mario hat. We're then treated to a hologram and light show. It's already got me pumped for how good Tokyo will be.
I'm just thinking about how gutting it must be for Rio to hand over the Olympic flag. All that work over so many years, and now it's over. In contrast, the excitement is just beginning for Tokyo. We're getting some shots of the city and what we can expect. Bullet trains, glass buildings and Manga cartoons. It looks belting.
The governor of Tokyo gets her hands on the Olympic flag and give it a good wave. Not as much gusto as Boris Johnson in 2008. We're now going to get a sneak peak of Japan's offering in four years.