Here's what you missed overnight from the Rio Olympics closing ceremony in pictures

Updated: 

The Rio Olympics closing ceremony was quite the spectacle - and with Team GB coming second in the overall medal table there was plenty to celebrate.

Here's what you missed overnight from the ceremony.

Hockey gold medallist Kate Richardson-Walsh carried the flag for Team GB as our official flag bearer.

Great Britain Flag Bearer Kate Richardson-Walsh during the Rio Olympic Games 2016 Closing Ceremony at the Maracana, Rio de Janeiro, Brazil.
(Martin Rickett/PA)

There was a huge carnival, including these rather large parrots.

Plumed figures appear as part of the closing ceremony in the Maracana stadium at the 2016 Summer Olympics in Rio de Janeiro, Brazil
(Mark Humphrey/AP)

Team GB celebrated their best ever Olympic Games, taking 67 medals overall - two more than they achieved at London 2012, and 19 more than their initial target of 48 to win in Rio.

Team Great Britain during the Rio Olympic Games 2016 Closing Ceremony at the Maracana, Rio de Janeiro, Brazil.
(Martin Rickett/PA)

There were lots and lots of fireworks.

Fireworks go off over the Rio Olympic Games 2016 Closing Ceremony at the Maracana, Rio de Janeiro, Brazil
(Mike Egerton/PA)

Here you can see them with the Morro dos Prazeres slum in the foreground.

With the Morro dos Prazeres slum in the foreground, fireworks explode over the Maracana stadium during the closing ceremony of the 2016 Summer Olympic Games in Rio de Janeiro, Brazil
(Leo Correa/AP)

Brazilian musician Mariene de Castro performed.

Mariene de Castro performs during the closing ceremony for the Summer Olympics in Rio de Janeiro, Brazil, Sunday, Aug. 21, 2016.
(Jae C Hong/AP)

There were some really cool Samba dancers.

Samba dancers perform during the closing ceremony of the Rio de Janeiro Olympics at Maracana Stadium on Aug. 21, 2016.
(AP)

The Olympic flame was extinguished, symbolising the official end to the Games.

The Olympic flame has been extinguished during the closing ceremony of the Rio de Janeiro Olympics on Aug. 21, 2016.
(AP/PA)

The Olympic baton was passed to Tokyo, which will host the Games in 2020.

Dancers perform during the closing ceremony of the Rio de Janeiro Olympics on Aug. 21, 2016.
(AP)

Toyko's governor Yuriko Koike held the Olympic flag to symbolise the passing of the Games.

Tokyo Governor Yuriko Koike waves the Olympic flag as International Olympic Committee President Thomas Bach and Rio de Janeiro Mayor Eduardo Paes look on, during the closing ceremony of the Rio de Janeiro Olympics
(AP)

And Japan's prime minister dressed up as Super Mario.

Japanese Prime Minister Shinzo Abe, dressed up as Super Mario, makes an appearance during the closing ceremony of the Rio de Janeiro Olympics
(AP)

Rio Olympics, we won't forget you in a hurry.