Joseph Schooling beat Michael Phelps and made Singaporean sporting history on Friday (Saturday morning UAE time) when he won the 100 meters butterfly and his country's first Olympic gold medal.
Once the pupil, photographed as a boy alongside his childhood idol Phelps, he put in a masterful performance to deny the American a 23rd and final individual gold in a race that will also be long remembered for a three-way dead-heat for second.
Phelps, the defending champion and world record holder who is heading into retirement -- again -- after Rio, took silver along with two of his greatest rivals in a fitting finale before he bows out in Saturday's 4x100 medley.
With South Africa's Chad Le Clos the middle man, and Phelps and Hungary's Laszlo Cseh flanking him on either side, they joined hands and stepped up together to the podium.
Astonishingly, all three had touched out in 51.14 seconds, behind Schooling's Olympic record 50.39 in the second dead-heat in a final in two days.
"I'm just ecstatic. I don't think it has set in yet. It's just crazy," said Schooling, 21.
"It's been a hard road, I've done something that no one in our country has done before. I've received a lot of support and that's phenomenal."
Phelps, who now has 27 Olympic medals, had been hoping to win the event for the fourth successive Games but his Midas touch deserted him and he had to settle for another color medal for the first time in Rio.
Three tied for silver
Le Clos, who lost his 200 butterfly title to Phelps on Tuesday, failed in his bid to turn the tables but was happy not to have been beaten by him again either.
"Strange is not the right word. Need to create a new one for that," he said. "I got silver tie in London so a three way tie is crazy. Maybe in Tokyo a four way tie."
The silver was the fourth of Cseh's Olympic career and left him, at 30, still without a gold.
The tie, although astonishing and the first in Olympic swimming to involve three athletes, was not unprecedented in top level swimming or indeed in Olympic sport.
At least year's world championships in Kazan, Russia, three women tied for 200 breaststroke bronze - Spain's Jessica Vall, Denmark's Rikke Moeller Pedersen and China's Shi Jinglin.
Two women's freestyle golds were handed out on Thursday after Canada's Penny Oleksiak and Simone Manuel of the United States recorded the same time.
The 1984 men's gymnastics saw four tied for silver in the vault.