Simone Biles won a record 14th world title as she took gold in the individual floor exercise at the World Gymnastics Championships in Doha.
It was her fourth gold and sixth medal of the week in Qatar after earlier taking bronze in the beam final.
The American, 21, becomes the first gymnast in three decades to win a medal at each event in which she competed.
She also matches Svetlana Khorkina's women's record of 20 career World Championship medals.
Great Britain's Dominick Cunningham narrowly missed out on a medal when he finished fourth in the men's vault behind gold medallist Ri Se-gwang of North Korea.
Competing first of the eight finalists, Cunningham, 23, held a medal place until he was knocked into fourth by the final athlete, Russian Artur Dalaloyan.
"It would have been nice to come home with a bronze but fourth in the world is a huge achievement and I feel like I'm putting myself on the map now," said Cunningham.
Biles lets out frustration on social media
Biles' performance in Doha was all the more remarkable for the fact she was returning to international competition after 18 months out and was also suffering from a kidney stone.
But her frustration surfaced in a mid-session tweet in response to suggestions on social media that her performance on the beam had been a disappointment.
After being beaten to gold by Chinese teenager Liu, Biles wrote: "Just saying, I get to decide when I have a disappointing performance. Not y'all [after] over a year out of the sport. Barely a year back in and my first big competition. I'm proud of myself!"
Following her gold on the floor, Biles added: "It is upsetting for me when I see tweets after my performances of how disappointed people are of me, because they can't set the expectations - that is down to me.
"I think there is a lot to be proud of, but I'm most proud that I'm here and I medalled in all the events and I survived."