Athletes and revellers are saying goodbye to the seaside city of Rio de Janeiro, as Brazil's former capital lays claim to South America's first Summer Olympic games.
Australia wrapped up the four yearly games with eight gold, 11 silver and 10 bronze medals and some cherished memories,not least of which was 18-year-old Kyle Chalmers' "under the radar" 100m freestyle win during the second week of the games.
— Olympics (@Olympics) August 22, 2016
More than 11,000 athletes from 207 countries competed in 306 events at this year's Olympic games.
There were some choice moments at Rio, such as Japan's Risako Kawai celebrating her wrestling win by slamming her coach.
Or what about Chinese swimmer Fu Yuanhui's absolute glee during this interview?
There was that time when the USA's Abbey D'Agostino and New Zealand's Nikki Hamblin helped each other up during a qualifying race for the women's 5,000 meters.
Is this the moment of the Rio Olympics? Nikki Hamblin and Abbey D'Agostino on getting each other over the line. pic.twitter.com/UahCJTLFib— BBC World Service (@bbcworldservice) August 18, 2016
The Rio Olympics even had the first refugee team to compete:
The next summer Olympics will be in Tokyo in 2020.
Absolutely hypnotising pic.twitter.com/q9ZozvWPIo— Ella Nelson (@ellanelson200) August 22, 2016
💚💙💛It was an honour and very special to be part of this incredible moment. Every single person who was involved to make this event possible, every single athlete and everybody else who took part of the olympic games here in brazil, gave everything possible, was hard working and lived probably unforgettable moments! Im sure we showed the world the beauty of this country! Rio 2016🏅Não tenho palavras para expressar este momento único que tive a oportunidade de vivenciar. Foi uma festa tão linda. Todos os envolvidos estão de parabéns pelo trabalho e pela dedicação para que tudo desse certo. A nossa maior vitória foi ter mostrado ao mundo que somos um país rico de amor, respeito e muita alegria. Gratidão 🙏🏻 #rio2016 #olympics #closingceremony #renatosorriso #grateful