Brett Davis-USA TODAY Sports

French swimmer Leon Marchand broke Michael Phelps' last individual world record on Sunday, winning the 400-meter individual medley at the world championships in Fukuoka, Japan.

Marchand, 21, captured the gold medal in 4 minutes and 2.5 seconds, eclipsing the mark of 4:03.84 established by Phelps at the 2008 Beijing Olympics.

"That was insane, one of the most painful things I've done," Marchand said. "It was amazing to do it here, and the time is crazy."

Marchand trains at Arizona State under Phelps' longtime coach, Bob Bowman.

Phelps, 38, had held the 400-meter IM record since 2002. He was in attendance as his record fell, calling the race for NBC Sports.

At one point, Phelps held individual world records in five races. He still holds the records with the U.S team in the 4x100 and 4x200 freestyle relays.

Phelps won a remarkable 28 medals across five Olympics -- 23 of them gold.

More must-reads:

TODAY'S BEST
Timberwolves chew up Nuggets to force Game 7
Rangers secure spot in conference finals after stunning third-period comeback over Hurricanes
Xander Schauffele makes history in first round of PGA Championship
Yankees' Hal Steinbrenner shares massive Juan Soto contract update
Steelers' Cameron Heyward addresses contract holdout
Knicks star ruled out for potential closeout game
Dodgers starter undergoes season-ending UCL surgery
Clemson’s Dabo Swinney gives smug response about not using transfer portal
Caitlin Clark's debut was most-watched WNBA game in more than 20 years
Watch: Chris Kreider's natural third-period hat trick shatters Hurricanes' comeback hopes
Veteran NFL safety will either play for this team or retire in 2024
Former Red Wings head coach linked to open NHL job
How Patriots' Drake Maye has already impressed Jacoby Brissett
LeBron James, Giannis Antetokounmpo, Stephen Curry among Forbes' highest-paid athletes for 2024
Steve Cohen addresses if Mets could again be trade-deadline sellers
Tiger Woods ruins strong first round with sloppy finish at PGA Championship
NFL responds to speculation about Chiefs schedule and Taylor Swift
Despite hopes for change, NASCAR championship weekend will return to Phoenix in 2025
Chiefs will achieve something not done since 1927 with 2024 schedule
Yankees' Aaron Judge comments on resurgence after bad slump