The Rio Olympics ended with a spectacular carnival-inspired closing ceremony, and the official handover to 2020 hosts Tokyo.
The colourful ceremony, lasting almost three hours, celebrated Brazil's arts and was held in a wet Maracana.
Among the highlights were Tokyo's impressive showcase and a vibrant carnival parade.
"These were a marvellous Olympics, in a marvellous city," said International Olympic Committee chief Thomas Bach.
"Over the last 16 days a united Brazil inspired the world, in difficult times for all of us, with its irresistible joy for life."
Bach officially closed the Games of the 31st Olympiad after 16 days of competition, featuring 11,303 athletes from 206 nations and a refugee team.
One of the biggest cheers of the night came when Japan's Prime Minister Shinzo Abe appeared dressed as computer game character Super Mario, rising out of a huge green pipe in the stadium.
The ceremony, watched by billions around the world, featured the parade of athletes and a dramatic extinguishing of the Olympic flame.
Women's hockey captain Kate Richardson-Walsh carried the flag for Great Britain, who finished the Games with 67 medals - their highest tally at an overseas Olympics.
Super-heavyweight boxer Joe Joyce had earlier won Britain's final medal of Rio 2016 - a silver - as they finished second in the medal table to the United States, ahead of China.
Latest Stories
-
Keep the light on as we did; you’re in government – Herbert Krapa
18 minutes -
Independence Square glows as Mahama takes presidential oath again amid grand celebration
26 minutes -
COP Tiwaa Addo-Danquah’s bust at EOCO destroyed
2 hours -
Trump threatens ‘very high’ tariffs on Denmark over Greenland
2 hours -
Full text: Mahama inaugural speech
2 hours -
CAF increases CHAN prize money to $3.5m
2 hours -
NFF appoints Éric Chelle as Head Coach of the Super Eagles
3 hours -
Collins Adjei Kuffuor writes: Mahama’s inaugural speech – a blueprint for Ghana’s future
3 hours -
Ghana is open for business again – Mahama assures business communities
3 hours -
Sege MP holds dinner with TOSA 96
3 hours -
Collins Adjei Kuffuor writes: Ghana’s tax system needs urgent reform
3 hours -
Rebecca Tweneboah Darko: ‘I love you King Promise, marry me’
4 hours -
Who becomes Mahama’s minister for Tourism, Arts and Culture?
5 hours -
Dagbani Wikimedia User Group honours 11 Wikimedians for excellence in 2024
5 hours -
Rebuilding of Kantamanto must meet fire safety standards – GNFS
5 hours