Hungary's Eva Risztov won a gripping Olympic women's swimming marathon by just 0.4 seconds at London's Hyde Park on Thursday.
The 26-year-old led for much of the 10km race in the Serpentine lake but she finished only marginally ahead of America's Haley Anderson with a winning time of 1hr 57min 38.2sec.
Italy's Martina Grimaldi took bronze and home favourite Keri-Anne Payne was fourth, with the top four separated by just four seconds.
Risztov, 26, competed in the pool at the 2000 and 2004 Olympics before retiring in 2005, only to return to the sport as a marathon specialist in 2009.
"I saw that Haley was coming, but I had enough energy in reserve to reach the finish," said Risztov.
"It is really hard to take in but in a few hours I will be much more happy because I'm really, really, really tired now."
Risztov succeeded Russia's Larisa Ilchenko, who won the inaugural women's event in Beijing four years ago but was not competing in London.
Great Britain's Payne, a silver medallist in Beijing, was bidding to win a first swimming gold medal of the Games for the host nation but finished off the podium.
"I tried absolutely everything I could," said a tearful Payne.
"It didn't quite go the way I was hoping for it to go, but I can't be upset with it. Whatever's meant to be is meant to be, and I guess I was meant to be fourth today."
The race began beneath bright sunshine, with hats and sun block the order of the day as a huge crowd descended upon Hyde Park to cheer on Payne.
Risztov led after completing the first 1.7km lap in 19min 22.2sec, with Australia's Melissa Gorman and Payne in close pursuit.
Gorman pulled ahead of Risztov at the start of the second lap, but it was Anderson who began the third lap in the lead, 1.6sec ahead of Payne and 1.9sec clear of Risztov.
At the halfway stage, with the sun beating down on the 24 swimmers as they churned through the dark, still water, Risztov and Grimaldi had moved in front of Anderson, with Payne slipping to fourth.
South Africa's Jessica Roux and Brazilian Poliana Okimoto both had to withdraw due to fatigue but the pack swam on, with Risztov leading the field into the final circuit of the lake.
A group of five swimmers -- Risztov, Grimaldi, Anderson, Germany's Angela Maurer and Payne -- had broken clear, and they put 20 metres of water between themselves and the rest as the race entered the last 1,000 metres.
Risztov made a bold early kick for home and held off a determined last-gasp charge from Anderson to slap the board above the finishing line first.
"It took a lot of energy to catch her so there was less energy left at the end," said Anderson, whose older sister, Alyssa, is also a member of the USA women's swimming team.
"I didn't want to jinx myself. Anything can happen, it's open water. As soon as I had her in my sights, I wanted to stay with her and give it everything I had, and I did. I'm really happy with the result."