Kohei Uchimura pulled off a stunning last-gasp victory to retain his men's all-around Olympic gymnastics title at the Rio Games on Wednesday.

Uchimura trailed Oleg Verniaiev of Ukraine by 0.901 points heading into the final apparatus — the high bar — but the six-time world champion kept his nerve while Verniaiev stumbled to hand Uchimura the gold with a score of 92.365.

"I didn't see any of Oleg's performances and I wasn't looking at the points difference, but then I heard the announcer and I started working it out in my head," said Uchimura, who became the first man to win back-to-back all-around Olympic titles since compatriot Sawao Kato in 1972.