Max Whitlock ended his career with a fourth place finish on the pommel horse at the Olympics.
He had hoped to sign off with a third successive Olympic title but was marked down for errors.
What happened?
The 31-year-old struggled to hold back tears, saying he was disappointed with the result.
He finished behind Rhys McClenaghan, who took gold, Nariman Kurbanov with silver, and Stephen Nedoroscik with bronze.
Why it matters for Max Whitlock
Whitlock's decision to retire was made before the Olympics, regardless of the outcome.
He is proud to have made his fourth Olympic Games and finishes as Britain's most successful gymnast.
What comes next?
Whitlock plans to change gymnastics in schools and inspire children to take up sport.
He wants to be remembered for what he does next, not just his athletic achievements.
And now he has a chance to make a difference in the lives of young people.
But for now, he is still coming to terms with the end of his competitive career.
So he will take time to reflect on his accomplishments, including six Olympic medals.
He won gold in Tokyo and has three world championship titles.
His daughter Willow watched him compete in his final event.
Whitlock's rival Rhys McClenaghan was overjoyed with his gold medal win.
He became Ireland's first ever Olympic medallist in artistic gymnastics.
Kurbanov opened the competition with a huge score of 15.433.
But McClenaghan's mark of 15.533 secured his gold medal.
Whitlock's career has been marked by incredible achievements and he will be remembered as one of the greatest gymnasts.
He has inspired a generation of gymnasts and will continue to do so in his retirement.
As he looks to the future, Whitlock is excited to make a difference in the world of gymnastics.
And his legacy will live on through the countless lives he has touched.