Michael Phelps Writes Perfect Ending in Final Olympic Race

August 14, 2016, 2:36 AM UTC
Swimming - Men's 4 x 100m Freestyle Relay Victory Ceremony
2016 Rio Olympics - Swimming - Victory Ceremony - Men's 4 x 100m Freestyle Relay Victory Ceremony - Olympic Aquatics Stadium - Rio de Janeiro, Brazil - 08/08/2016. Michael Phelps (USA) of USA poses with his medal REUTERS/David Gray FOR EDITORIAL USE ONLY. NOT FOR SALE FOR MARKETING OR ADVERTISING CAMPAIGNS. - RTSLPRC
David Gray — Reuters

It couldn’t have been scripted any better. The last day of swimming at the 2016 Rio Olympics was also the final day of competition for the most decorated Olympian of all time. The week’s events have been building to this, the coda to Michael Phelps’ history-making, precedent-setting, record-smashing career.

Before it was over, however, others had their turn. In the punishing 1,500m, the longest distance in the Olympics, Italy’s Gregorio Paltrinieri won his country’s first swimming gold, while his countryman Gabriele Detti took bronze. American Connor Jaeger wedged the U.S. onto the podium with silver.

In the mad dash of the women’s 50m freestyle, an ebullient Pernille Blume of Denmark won gold, while American Simone Manuel continued her stellar run in Rio with silver. Aliaksandra Herasimenia of Belarus took bronze.

In the women’s 4 X 100 medley relay, the U.S. trailed Russia early, but Dana Vollmer pulled away during the butterfly leg and they never relinquished the lead. The U.S. easily won gold, followed by Australia with the silver and Denmark withe the bronze. The U.S. has only lost this event five times since 1960 Games, and Kathleen Baker, Lilly King, Vollmer and Manuel made sure they checked another off in the win column. All members of the team earned medals in Rio.

Then it was the men’s turn. Phelps has always been partial to relays, which are a rare chance for him to share the mantle of expectation with three other teammates. The medley in particular is a favorite since it brings him together with the best of Team USA in each stroke. And it doesn’t hurt that the U.S. men own this event, having won the relay in every Olympics except for 1980, which the U.S. boycotted.

The Guy Who Finally Beat Michael Phelps First Met Him As a Kid

In the final race of the evening, Ryan Murphy gave the U.S. a huge lead with a record pace backstroke. Cody Miller took over for the breaststroke before giving way to Phelps for the butterfly, who retook the lead from Great Britain. He handed over to Nathan Adrian, who earned bronze medals in the 100m and 50m freestyle in Rio, for the final leg. Adrian took it home safely, giving the U.S.-and its biggest star–the final swimming gold of the 2016 Olympics.

The win gave the U.S. 35 individual swimming medals, topping its previous record of 31 set in 2012. It also surpassed the previous tally for golds, 16, also set in London. But the numbers only tell half the story; 15 of those medals were won by Olympic rookies, including golds by Manuel in the 100m freestyle, by Maya DiRado in the 200m backstroke, by Lilly King in the 100m breaststroke and by Ryan Murphy in the 200m backstroke.

It was a fitting way to end a history-making career for Phelps. And just the way that he envisioned it. There’s a visible sense of comfort in Phelps that wasn’t there yet in 2004 when he made his first Olympic team, that was impossible to achieve in 2008 under the strain of making history, and was abandoned in 2012, when the transition away from living life as a professional athlete consumed, and nearly destroyed him. It’s all a reflection of the seismic shifts that have occurred in his life outside the pool, which fueled his comeback from retirement and helped him to, as he said, “feel like a kid again.”

For more on the Olympics, watch:

You can see it in the smiles that come more easily and the emotions he exposed like a raw nerve on the medals stand in Rio. It’s there in the way he jokes more easily and engages more comfortably with fans, reporters, anyone who wants to merge orbits with the Greatest Olympian of All Time. And you see it in the way he lingers during his victory walks around the pool deck, savoring the cheers and soaking in the tributes showered in his direction.

Since the last Olympics, Phelps got lost and found himself again. He was arrested for DUI and entered rehab, where he finally addressed the issues that were keeping him from embracing what were supposed to be his glory days, the time when he reaped the rewards of his years of sacrifice. He worked on repairing his relationship with his estranged father, whom he had blamed for divorcing his mother and leaving when he was nine. As a new father himself, to three-month-old Boomer, he’s beginning to understand what being a parent means, and starting to see what a future, this time with a family of his own creation, can mean. Facing a life beyond the watery confines of a 50m pool, he has a clearer sense of who he is and what he wants from that life. “I’m really looking forward to seeing Boomer, [my fiancee] Nicole and my family; I’d just like to spend some time with them,” Phelps said in Rio–and has been repeating some version of it throughout the week.

“I’ve been able to do everything I ever put my mind to [doing] in the sport,” Phelps tells TIME. “I’ve had 24 years in this sport and I’m happy with how things finished. When I came back after 2012 I didn’t want to have ‘what ifs’ 20 years later. Being able to close the door on this sport how I wanted to — that’s why I’m happy now.”

Simone Manuel’s Olympic Win Shines a Light on Ugly Fact of American Life

Swimming fans may not be feeling so optimistic about the sport without Phelps. He has been the driving force behind giving swimming at least a chance in fighting for the overage and revenues that vastly more popular sports like football and baseball in the U.S. enjoy. Since 2000, roughly the start of Phelps’ swimming career, the number of year-round swimmers in USA Swimming clubs steadily increased, from 221,000 to 337,000 last year.

And at his fifth Olympics, Phelps has had a chance to see the effect for himself. Freestyle phenom Katie Ledecky, whose world-record smashing habit is reminiscent of Phelps’, was inspired by him as a young swimmer. Swimmer after swimmer in Rio told their own Phelps stories, all with a familiar message about how they watched his career and used it as motivation to fuel their own dreams in the pool. And it came full circle in Phelps’ last race as a competitive swimmer; in the 100 butterfly, he wasbested by a 21 year old Singaporean who met Phelps as an eight-year-old. “I wanted to be like him, he was so victorious and I wanted to win,” says Joseph Schooling. “I don’t think I would be at this point without Michael; he is the reason I wanted to be a better swimmer.”

This article was originally published on Time.com