Usain Bolt ended his Olympic career by claiming an unprecedented ‘triple triple’ and his ninth gold as Jamaica won the 4x100m relay final in Rio.
Bolt, 29, had won the 100m and 200m in Rio and is the only man to win all three sprint events at three Games.
He combined with Asafa Powell, Yohan Blake and Nickel Ashmeade to finish in 37.27 seconds.
Japan won a surprise silver and the USA were disqualified to hand Canada bronze and lift Britain up to fifth.
‘I’m the greatest’
“There you go. I’m the greatest,” said Bolt, after bringing an end to one of the most astonishing Olympic careers of all time.
In February, Bolt confirmed he would retire after the 2017 World Championships and will not compete at Tokyo 2020, at which point he will be 33.
His haul of nine gold medals is the joint highest among Olympic athletics, equal with USA sprinter and long jumper Carl Lewis and Finnish long-distance runner Paavo Nurmi.
“I’m going to stay up late and have fun. I never knew this would happen when I started out,” Bolt told BBC Sport.
“My team came through for me tonight. As long as we got the baton round, it was never in doubt.”
Blake made an attempt to persuade 100m and 200m world record holder Bolt to continue for another four years, saying: “Usain needs to be immortal and he is immortal. I will encourage him to come back for 2020.”
Why were USA disqualified?
The American team of Mike Rodgers, Justin Gatlin, Tyson Gay and Trayvon Bromell celebrated winning a bronze before they were disqualified.
The USA team were told it was because Gatlin received the baton too early from Rodgers in the first handover.
“We already did the victory lap and then when we talked to TV, they told us,” said Gay.
“They said Justin got the stick before the zone. He’s saying he didn’t. Hopefully we can appeal.”
The GB quartet of Richard Kilty, Harry Aikines-Aryeetey, James Ellington and Adam Gemili, who finished sixth, were promoted to fifth.
Gemili, the British athletics team captain who narrowly missed out on 200m bronze, said: “They are a great team. It is a real shame, especially for me after yesterday.
“I got back in the village at 1:30am and everyone was up waiting for me. We have such a great team and team spirit.
“We are disappointed not to win a medal; we know we are capable of it.”
Subscribe to the BBC Sport newsletter to get our pick of news, features and video sent to your inbox.