Ryan Lochte’s quest to make the U.S. Olympic team for the upcoming Tokyo Games failed Friday.

Lochte, who has six gold medals to his credit, finished in seventh in the 200-meter individual medley. He will not have a chance at redemption after ending his time at the 2016 Rio de Janeiro Olympics with an arrest over an apparent gas station dispute.

CLICK HERE FOR MORE SPORTS COVERAGE ON FOXNEWS.COM

Lochte, 36, will likely have missed his last chance at making the Olympic team. Coming to that realization, he had a tearful post-event press conference.

"I really wanted to be on this Olympic team," he said. "This is probably my most important swim meet that I’ve ever had in my entire career, the one that meant the most to me. So falling short and feeling like I let everyone down was one of the hardest things."

DRESSEL, LEDECKY LEAD POWERFUL US SWIM TEAM HEADED TO TOKYO

Lochte will be about 40 when the next Olympic trials come up in 2024.

"I still want to race, but as far as another Olympic trials, I don’t know about that. I'll be (almost) 40. That’s pushing it."

He will likely wrap up his swimming career with 21 gold medals in the World Championships Short Course, 18 gold medals in the World Championships Long Course, eight gold medals in the Pan Pacific Championships and one gold medal in the Pan American Games.

CLICK HERE TO GET THE FOX NEWS APP

He also won seven gold medals as a member of the University of Florida swim team.

The Associated Press contributed to this report.