Los Angeles - Sofia Kenin and Bethanie Mattek-Sands defeated Jelena Ostapenko and Anastasija Sevastova 6-4, 6-0 in a deciding doubles as the USA survived a Saturday scare to beat unheralded Latvia 3-2 and reach the Fed Cup finals.
New Australian Open champion Kenin and Mattek-Sands ensured the USA reached the finals in Budapest from April 14-19 after both Serena Williams and Kenin had been stunned in the singles as Latvia levelled the qualifier 2-2 in Seattle.
Sevastova had earlier inflicted a shock first Fed Cup singles loss on Williams 7-6 (7/5), 3-6, 7-6 (7/4).
"We were playing in the USA so obviously the crowd was going to be for Serena. I just tried to give it my best," Sevastova said of her win at the Angel of the Wings arena.
Williams, the 23-time Grand Slam champion, bounced back from losing the first set by cruising through the second set in 33 minutes, but she was outplayed on the big points in the second tiebreak.
Sevastova used her powerful serve to deliver aces at key moments, and a precision forehand ended Williams' perfect streak at 14 wins after a 2hr 25min marathon.
Williams looked fatigued in her first Fed Cup singles match in four years. She had played doubles with sister Venus in her last tournament appearance in 2018.
Williams' loss to Sevastova comes just weeks after she was shocked by China's world number 27 Wang Qiang in the last 32 of the Australian Open.
The former French Open champion Ostapenko had kept Latvia alive with a 6-3, 2-6, 6-2 upset against Kenin in just under two hours after the Americans went into the second day with a 2-0 lead.
"Honestly it's very special to play for my country and I was just trying my best," said Ostapenko, who raced to a 3-0 lead against Kenin and broke her again in the eighth game on the way to winning the first set.
"I was fighting until the last point," she said. "I knew it was going to be a very tough match and the key thing for me was just to play aggressive."
That approach may have contributed to her 49 unforced errors. Kenin made the most of them in the second set, fending off a break point in the first game then pulling away to take a 4-0 lead on the way to forcing a third set.
In a third set that featured six breaks of serve, Ostapenko held for 3-1 and, finally, held in the last game, sealing it on her second match point.
Fed Cup qualifier results on Saturday:
Spain beat Japan 3-1
Carla Suarez Navarro (ESP) bt Kurumi Nara (JPN) 6-1, 6-3
Sara Sorribes Tormo (ESP) v Misaki Doi (JPN) not played
Shuko Aoyama/Ena Shibahara (JPN) bt Lara Arruabarrena/Aliona Bolsova Zadoinov (ESP) 6-2, 6-3
At The Hague
Belarus bt Netherlands 3-2
Kiki Bertens (NED) bt Aryna Sabalenka (BLR) 6-4, 6-4
Aliaksandra Sasnovich (BLR) bt Arantxa Rus (NED) 0-6, 7-5, 6-2
Aryna Sabalenka/Aliaksandra Sasnovich (BLR) bt Kiki Bertens/Demi Schuurs (NED) 4-6, 6-3, 7-6 (10-8)
Russia bt Romania 3-2
Ekaterina Alexandrova (RUS) bt Ana Bogdan (ROM) 7-5, 3-6, 7-5
Jaquelina Adina Cristian bt Veronika Kudermetova (RUS) 7-5, 6-3
Anna Blinkova/Anna Kalinskaya (RUS) bt Jaquelina Adina Cristian/Elena Gabriela Ruse (ROM) 6-3, 6-2
Slovakia bt Great Britain 3-1
Heather Watson (GBR) bt Rebecca Sramkova (SLO) 6-0, 7-5
Anna Karolina Schmiedlova (SLO) bt Harriet Dart 7-5, 6-3
Belgium beat Kazakhstan 3-1
Elise Mertens (BEL) bt Yulia Putintseva (KAZ) 6-1, 7-6 (7/1)
Kirsten Flipkens (BEL) bt Zarina Diyas (KAZ) 6-3, 6-4
Switzerland beat Canada 3-1
Leylah Annie Fernandez (CAN) bt Belinda Bencic (SUI) 6-2, 7-6 (7/3)
Jil Teichmann (SUI) bt Gabriela Dabriwski (CAN) 6-3, 6-4
Germany beat Brazil 4-0
Laura Siegemund (GER) bt Gabriela Ce (BRA) 6-1, 6-2
Tatjana Maria (GER) v Teliana Pereira not played
Anna-Lena Friedsam/Antonia Lottner (GER) bt Laura Pigossi/Luisa Stefani (BRA) 6-1, 6-4
At Everett, Washington
USA beats Latvia 3-2
Jelena Ostapenko (LAT) bt Sofia Kenin (USA) 6-3, 2-6, 6-2
Anastasija Sevastova (LAT) bt Serena Williams (USA) 7-6 (7/5), 3-6, 7-6 (7/4)
Sofia Kenin/Bethanie Mattek-Sands (USA) bt Anastasija Sevastova/Jelena Ostapenko (LAT) 6-4, 6-0