Rio de Janeiro - Monica Puig won Puerto Rico's first ever Olympic gold medal on Saturday when she defeated Germany's Angelique Kerber 6-4, 4-6, 6-1 in the women's tennis singles final.
The 22-year-old Florida-based Puig defied her ranking of 34 to get the better of the world No 2 and Australian Open champion.
Puig is the first woman from the Caribbean island to win a medal of any sort.
Before her golden breakthrough, Puerto Rico had won just eight Olympic medals, two silver and six bronze. Six of that total had come in boxing.
Victory for Puig came in a dramatic seventh game of the final set when she saved six break points before taking gold on a fourth match point when a Kerber forehand sailed wide.
"Oh my God," she screamed before breaking down in floods of tears and parading her national flag around centre court.
Kerber had cruised into the final without dropping a set as the second seed aimed to emulate Steffi Graf who was Germany's last champion at the 1988.
However, her perfect record in Rio ended when Puig grabbed the first set against a suddenly lacklustre looking German who required treatment on a back injury between sets.
Her medical timeout worked wonders as she broke in the first game of the second set.
Puig retrieved the damage in the eighth game but she faltered when she had the chance to serve for a 5-4 lead.
Kerber, 28, levelled the final in the 10th game but needed four set points to get the job done.
That set the foundation for the thrilling decider where Puig raced into a 5-0 lead before having to suffer for her place in history during a marathon seventh game.
On Friday, after beating two-time Wimbledon champion Petra Kvitova in the semi-finals, Puig had vowed to win gold and bring some light relief to Puerto Rico.
The US territory is buried under some $70 billion in debt.
There is also a growing concern over the Zika virus, which has spread quickly through the island.
In July, US health officials reported that as many as 50 pregnant women per day have been infected, raising the risk of birth defects.
Before London in 2012, all of the island's Olympic medals had come in boxing.
Four years ago, Jaime Espinal won a wrestling silver while 400m hurdler Javier Culson took home a bronze.
Meanwhile, Kvitova won the bronze medal play-off by defeating American seventh seed Madison Keys 7-5, 2-6, 6-2.
In an untidy clash, the two women hit a combined 87 unforced errors while Keys's challenge was undone by only converting two of her 10 break points.
Olympic Games tennis results on Saturday (denotes seeded player):
Women's singles - Gold medal match
Mnica Puig (PUR) bt Angelique Kerber (GER x2) 6-4, 4-6, 6-1
Bronze medal match
Petra Kvitova (CZE x11) bt Madison Keys (USA x7) 7-5, 2-6, 6-2
Men's singles - Semi-finals
Juan Martin del Potro (ARG) bt Rafael Nadal (ESP x3) 5-7, 6-4, 7-6 (7/5)
Andy Murray (GBR x2) bt Kei Nishikori (JPN x4) 6-1, 6-4
Women's doubles - Bronze medal match
Lucie Safarova/Barbora Strycova (CZE) bt Andrea Hlavckov/Lucie Hradeck (CZE x6) 7-5, 6-1
Mixed doubles - Semi-finals
Venus Williams/Rajeev Ram (USA) bt Sania Mirza/Rohan Bopanna (IND x4) 2-6, 6-2, 10-3
Bethanie Mattek-Sands/Jack Sock (USA) bt Lucie Hradecka/Radek Stepanek (CZE) 6-4, 7-6 (7/3)