Usain Bolt has completed the historic triple-triple with a gold in the men's 4x100 metres relay.
The Jamaican team of Asafa Powell, Yohan Blake, Nickle Ashmeade and Bolt came home strongly, beating Japan and the USA, who were later disqualified for lane infringement.
Canada will instead take the bronze behind Japan.
Two days before his 30th birthday, Bolt ran the anchor leg as the Jamaicans won in 37.27 seconds to add the relay gold to the 100 metres and 200 metres titles he had won for a third straight Olympics.
His ninth gold medal drew him level with Paavo Nurmi, the Finn who dominated distance running in the early 20th century, and American sprinter and long jumper Carl Lewis as the most successful Olympic track and field athletes.
Ryoto Yamagata ran a blistering opening leg for Japan, who won a stunning silver for their first Olympic medal in the sprint relay in 37.60, improving the Asian record they set in qualifying.
Trayvon Bromell's dip for the line was so aggressive that he stumbled over and the United States thought they were settling for bronze in 37.62, the first time they had failed to finish in the top two when they started a final.
The situation went from bad to worse, though, when they were disqualified along with Trinidad and Tobago. TV pictures showed Bromell stepping into Bolt's lane in the run to the line.
Canada were elevated to bronze after their run of 37.64, a national record which gave Andre de Grasse his third medal of the Games after his bronze in the 100m and silver in the 200.