Simone Biles made her eagerly-awaited return to the Olympic Games on Tuesday, saying "I did it for me" after taking bronze in the beam final won by Chinese teenager Guan Chenchen.
It was the US superstar's first taste of competition in Tokyo since dramatically standing down during the women's team final last week, struggling with the "twisties", a condition meaning gymnasts lose the ability to orientate themselves in mid-air.
"I was just happy to be able to perform regardless of the outcome. I did it for me and I was proud of myself for being able to compete one more time," said Biles, who revealed her aunt died two days ago.
After also withdrawing from the first three apparatus finals in the uneven bars, vault and floor, she said she had only been cleared to compete in the beam on Monday night.
"Just to have one more opportunity to compete at the Olympic Games meant the world.
"Training for five years and then coming here, and then kind of being triggered and not being able to do anything, it wasn't fun."
The four-time gold medallist from the Rio Games received a huge cheer from her US teammates when she entered the arena.
With bib 392 on her back, she filed in with the other eight finalists, blowing a kiss to the cameras.
Another cheer rang out when the stadium announcer said: "And now, representing the United States....Simone Biles.."
- 'Nervous' -
She looked pensive on her comeback as she waited for her turn to climb up onto the 10cm wide beam for her 90-second routine.
Among the audience was Olympic chief Thomas Bach and two canine cardboard cutouts of her beloved French bulldogs -- Lilo and Rambo.
Peeling off her US Team red tracksuit, she practised her dance moves in her star-spangled banner leotard as she waited for her turn as the third to perform.
At 6:11 pm local time (0911 GMT), it was her time. One long week on from her first shock withdrawal, the 24-year-old woman from Ohio was finally back at her day job.
Wiping her brow, she approached the beam, chalked up, and finally got the wheels back on her derailed Olympic campaign.
While avoiding any twists incorporated in her favoured and most difficult moves, she put in a solid performance, ending with a double backward somersault, double pike dismount.
Her face breaking into a broad grin, she waved and hugged rivals and team officials, the relief of having performed clear on her face.
Her routine earned the triple world champion on the apparatus 14.000 points.
"I had nerves but I felt pretty good," she said.
"I was a little bit nervous for the dismount just because we had to switch it and I probably haven't done a double pike dismount since I was 12 years old, so it was kind of hard to control that.
"But to go out there and compete one more time and have everybody's support meant the world.
She was lying second behind Tang Xijing until 16-year-old Guan, the last of the eight finalists to go, put in a superb display to take gold with 14.633 points, relegating Biles to bronze, the same colour she won in Rio.
Bach was one of the first to congratulate her on her comeback, as were 'Lilo and Rambo' in their mute manner from the stands, after her Tokyo nightmare ended in smiles on the third rung of the beam podium.
It was Biles' seventh Olympic medal, equalling Shannon Miller's record for an American gymnast.