Great Britain reached the semifinals of the Billie Jean King Cup after completing a stunning upset over five-time champions Spain to top Group C at the Emirates Arena in Glasgow.
Having been beaten in their opening-day fixture by Kazakhistan, the Emma Raducanu-less Great Britain faced Spain as the clear underdogs who had eased past Kazakhistan in their opening contest.
Heather Watson, Harriet Dart, Alicia Barnett and Olivia Nicholls had other ideas though as they sealed a 3-0 win to progress. Watson got them going with a 6-0, 6-2 win against Nuria Parrizas Diaz before Dart got the better of Paula Badosa 6-3, 6-4.
Barnett and Nicholls then defeated Aliona Bolsova and Rebeka Masarova 7-6 (5), 6-2 in a winner-takes-all doubles decider to reach the semifinal.
Great Britain was not even expected to be at the Billie Jean King Cup finals having lost a qualifier to the Czech Republic in April but was given a wildcard entry as the hosts of the event.
They will play Australia next who followed up their win over Slovakia in Group B with another dominant showing against Belgium.
Storm Sanders eased past Alison van Uytvanck 6-2 6-2 before Ajla Tomljanovic rallied from a set and a break of serve down before Elise Mertens retired injured trailing 4-6 6-4 3-0.
Sanders then teamed up with Sam Stosur to see off Ysaline Bonaventure and Kirsten Flipkens 6-4 6-3 and complete an Australian clean sweep.
In Group A, Canada got their campaign off to a perfect start with a 3-0 win over Italy.
Bianca Andreescu beat Elisabetta Cocciaretto 7-6(3) 6-3 before Leylah Fernandez crushed Martina Trevisan 6-0 6-0. The teenager then joined forces with Gabriela Dabrowski to beat Lucia Bronzetti and Jasmine Paolini 6-1 6-1.
Canada will now take on Switzerland, who swept Italy 3-0 as well, in their final Group A tie, with the winner advancing to the semi-finals.
In Group D, the Czech Republic defeated Poland 2-1 thanks to the duo of Katerina Siniakova and Marketa Vondrousova who beat Katarzyna Kawa and Magda Linette 6-2 6-3 in the decider.
They will next play the United States for a place in the last four.