Rio Olympics 2016 closing ceremony

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.

Team France takes part in the 'Heroes of the Games' segment. Teams from all participating countries proudly marched with their flags held high.  (Getty)

Dancers perform during the 'Love Sport Tokyo 2020' segment which was attended by Japanese Prime Minister Shinzo Abe, dressed as Mario.

 Dancers perform during the 'Love Sport Tokyo 2020' segment which was attended by Japanese Prime Minister Shinzo Abe, dressed as Mario. (Getty)

Dancers in colourful costumes perform in the 'Olympic Wings' segment.

Dancers in colourful costumes perform in the 'Olympic Wings' segment.  (Getty)

Samba dancers give a lively performance in the 'Cidade Maravilhosa' segment.

  Samba dancers give a lively performance in the 'Cidade Maravilhosa' segment.  (Getty)

The Olympic Cauldron is seen during the start of the Closing Ceremony.

The Olympic Cauldron is seen during the start of the Closing Ceremony. (Getty)

Athletes walk during the 'Heroes of the Games' segment as fireworks explode.

Athletes walk during the 'Heroes of the Games' segment as fireworks explode. (Getty)

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.

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. (Getty)

(L-R) IOC president Thomas Bach and governor of Tokyo Yuriko Koike take part in the Flag Handover Ceremony.

(L-R) IOC president Thomas Bach and governor of Tokyo Yuriko Koike take part in the Flag Handover Ceremony. (Getty)

Light rain falls as electronic music artist Kygo and singer-songwriter Julia Michaels perform the song 'Carry Me'.

Light rain falls as electronic music artist Kygo and singer-songwriter Julia Michaels perform the song 'Carry Me'. (Getty)

Two-time Latin Grammy award winner and Brazilian singer-songwriter Lenine performs during the Recognition of the Volunteers segment.

Two-time Latin Grammy award winner and Brazilian singer-songwriter Lenine performs during the Recognition of the Volunteers segment. (Getty)

Olympians Kaori Icho of Japan and Pita Taufatofua of Tonga dance on stage.

Olympians Kaori Icho of Japan and Pita Taufatofua of Tonga dance on stage. (Getty)

The 2016 Olympic Games come to a spectacular end at Maracana Stadium on August 21 in Rio de Janeiro, Brazil.

The 2016 Olympic Games come to a spectacular end at Maracana Stadium on August 21 in Rio de Janeiro, Brazil. (Getty)