After a rocky start, Olympics 2016 at Rio de Janeiro comes to a glorious end
Team France takes part in the 'Heroes of the Games' segment. Teams from all participating countries proudly marched with their flags held high.
Dancers perform during the 'Love Sport Tokyo 2020' segment which was attended by Japanese Prime Minister Shinzo Abe, dressed as Mario.
Dancers in colourful costumes perform in the 'Olympic Wings' segment.
Samba dancers give a lively performance in the 'Cidade Maravilhosa' segment.
The Olympic Cauldron is seen during the start of the Closing Ceremony.
Athletes walk during the 'Heroes of the Games' segment as fireworks explode.
Brazilian singer Mariene de Castro performs in the rain during the Closing Ceremony on Day 16 of the Rio 2016 Olympic Games at Maracana Stadium on August 21, 2016.
(L-R) IOC president Thomas Bach and governor of Tokyo Yuriko Koike take part in the Flag Handover Ceremony.
Light rain falls as electronic music artist Kygo and singer-songwriter Julia Michaels perform the song 'Carry Me'.
Two-time Latin Grammy award winner and Brazilian singer-songwriter Lenine performs during the Recognition of the Volunteers segment.
Olympians Kaori Icho of Japan and Pita Taufatofua of Tonga dance on stage.
The 2016 Olympic Games come to a spectacular end at Maracana Stadium on August 21 in Rio de Janeiro, Brazil.