Belinda Bencic has become Switzerland's first female Olympic gold medallist in tennis with victory over Marketa Vondrousova continuing her dream week in Tokyo.
And the new 24-year-old champion has dedicated her triumph to her country's great tennis heroes Roger Federer and Martina Hingis, who never managed to win a singles gold.
Bencic battled to a 7-5 2-6 6-3 victory in a match that finished at 11.28pm on Saturday night to follow in the footsteps of Federer and Stan Wawrinka, who won gold in men's doubles in 2008, and 1992 singles champion Marc Rosset.
But Federer lost the 2012 singles final to Andy Murray at Wimbledon and not even Hingis, who was Bencic's inspiration, ever managed an Olympic singles title.
"I think I accomplished it for them," Bencic said. "They did so much in their careers. I don't think I will ever be able to accomplish what they did. So it's for Martina and Roger.
"I'm so happy. It's a dream coming true for sure. I have no words how this happened and this is for sure the biggest thing I ever achieved and I will ever achieve," said Bencic.
"Sport can be so brutal at times, but so beautiful at other times. I'm just so thankful and happy and grateful that it happened for me in this Olympic Games."
Bencic dominated the junior game but has struggled with injuries and this was her biggest moment on the senior stage.
She could yet make it double gold in another Swiss-Czech battle when she and Viktorija Golubic take on Barbora Krejcikova and Katerina Siniakova in the women's doubles final on Sunday.
Former French Open finalist Vondrousova, the Czech who defeated Naomi Osaka in the third round, was edged out in a very tight first set but she hit back strongly and looked the favourite heading into the decider.
However, she could not find the required consistency, with Bencic breaking for 5-3 after taking a medical timeout for what appeared to be a blister and then holding her nerve to serve it out.
Elina Svitolina took bronze, securing a first tennis medal for Ukraine with a gutsy comeback to beat Kazakh Elena Rybakina.
Rybakina won the first set easily and led by a break in both the second and third sets but Svitolina, who celebrated her wedding to Frenchman Gael Monfils just days before travelling to Japan, won the final five games in a 1-6 7-6 (7-5) 6-4 triumph.
Australian Associated Press