This wasn’t supposed to be how it ended.

What should have been a triumphant finish to a momentous career ended in injury when Usain Bolt fell to the track in the midst of his last-ever race at the IAAF World Championships in London on Saturday.

Bolt had apparently developed a cramp in his left hamstring just after taking the baton in his anchor leg of the 4×100 relay and was unable to finish.

Related Story: The last shot Michael Jordan took with the Chicago Bulls

The United Kingdom went on to win the race, and America and Japan took second and third as Bolt’s teammates helped him limp off of the track.

Image: Patrick Smith/Getty Images

Image: Andy Lyons/Getty Images for IAAF

Image: Patrick Smith/Getty Images

The collapse marked the first time since 2008 that Jamaica lost the event at a major track competition, according to the Washington Post.

The painful defeat was a stunning reminder that anything can happen in live sports—even in the final stretch before a track legend’s retirement.

Twitter sympathized with Bolt and celebrated his career.