All eyes are on Tokyo in 2020 as the Olympic closing ceremony puts the finishing touches on the Rio Games - the biggest sporting event ever hosted in Brazil.
The closer was a less spectacular, but equally engaging rendition of Rio 2016's opening ceremony that featured dancing and musical performances - as well as a swathe of excited athletes.
Horrendous weather earlier on Sunday (local time) threatened to ruin the ceremony, but conditions eventually died down sufficiently to allow the Games to be capped off in impressive fashion at the Maracaña.
Kiwi canoe sprinter Lisa Carrington was announced as New Zealand's flag bearer ahead of the Olympics' concluding event, and she took our flag out into the stadium alongside athletes from 204 other nations.
Lisa Carrington carrying the New Zealand flag (Getty)
The heavily oiled Tongan flag bearer, who sent the internet into a frenzy when his glistening, muscle-bound torso appeared on screen during the Olympic opening ceremony, made another appearance at the event's close, joining in the dancing on stage partway through the ceremony.
Speeches from the head of the Rio Olympics organising committee head Carlos Arthur Guzman and IOC President Thomas Bach followed, before more dancing and singing numbers.
Near the end of the ceremony, Tokyo was introduced ahead of the 2020 Olympics - and the ensuing video package culminated in Japanese Prime Minister Shinzo Abe emerging onto the stage dressed as Mario from Nintendo video game Super Mario.
The Olympic flag was then handed to Tokyo governor Yuriko Koike to take home to Japan.
Shinzo Abe (Reuters)
Carnival floats and samba came next, before fireworks were set off in the shape of a heart to send off the Rio Games in a remarkable manner.
New Zealand finished the Rio Olympics in 19th position, after earning four gold medals, nine silvers and five bronzes.
However we ranked much higher when population was taken into account, finishing fourth in number of medals per capita.
Newshub.