Tom Daley and his coach remonstrate with a judge during the 10m platform finalTom Daley's quest to win an Olympic medal in the men's 10m platform diving final was almost derailed before it started - and it was all down to his fans being a little too eager to show their support.
The 18-year-old took to the platform for his first jump of the competition and leapt - but as he did so, hundreds of fans' camera flashes started going off at once in the Aquatic Centre.
Daley's dive was an uncharacteristically poor effort, and as soon as he emerged from the water he looked dismayed and angry at the distraction which had caused him to score just 75.60.
He and the Team GB diving coaches immediately appealed to the judges, pointing out that FINA regulations clearly prohibit fans from using their flashes to take pictures during dives.
The judges studied footage and agreed that Daley should be allowed to attempt his opening dive again - and this time he nailed it, scoring 91.8 points.
That re-dive put Daley high up the leaderboard, and led to a thrilling finale in the competition which saw him lead going into the final round.
"The environment has to be right," Daley said afterwards.
"It's tough when you are spinning around looking for the water and you see extra lights, it's very disorientating.
"But because of the experience I have now, I have learned to stick up for myself, so I asked the referee for a re-dive and the judges all agreed that the camera flashes had been distracting.
"It was an important re-dive as I would not have got the bronze without it."
"The home advantage cannot become a disadvantage because of all the photographers and fans trying to take pictures.
Daley put in a string of consistent dives from that point and went on to build a marginal lead over the field going into the final round of dives. With a lower tariff dive, he was unable to prevent David Boudia and Qiu Bo overtaking taking him, but he still became Britain's first individual diving medallist in over half a century.