Fireworks explode during the closing ceremony. Fernando Donasci, Reuters
The Rio Olympics ended in a blaze of color with an exuberant closing ceremony on Sunday as Tokyo took up the baton promising to host the best Games yet in 2020.
After a roller-coaster fortnight which mixed off-field hitches with compelling sporting drama, Olympics chief Thomas Bach hailed a "marvelous" Games in the Brazilian city.
(READ: Rio throws final party to say goodbye to 2016 Olympics)
"These were marvelous Olympic Games in the marvelous city!" said Bach, as he declared the Games closed and the Olympic flame was extinguished.
Smiling and waving athletes danced into the Maracana stadium taking selfies as Rio's 16-day Summer Games closed ahead of the 2020 Olympics in Tokyo.
Here now is AFP's list of who hit, who missed at the Rio Olympics: