Teenage winger Salma Paralluelo came off the bench to score a 111th-minute winner as Spain beat the Netherlands to reach the Women's World Cup semi-finals for the first time.
Mariona Caldentey had appeared to give Spain the win in normal time when she slammed home an 80th-minute penalty via the post after Stefanie van der Gragt handled in the box.
Van der Gragt went from villain to hero by smashing home a stoppage-time equaliser - but Paralluelo found space in the area in extra time to put Spain's women into their first major semi-final for 26 years.
The Netherlands, runners-up in 2019 where they were beaten by the USA in the final, were outplayed for long periods although they should have taken the lead seconds before the winner, when Lineth Beerensteyn fired over from yards out.
Paralluelo, 19, then received the ball from Jenni Hermoso, kept her calm in the box and struck perfectly in off the left post to become Spain's youngest scorer at a Women's World Cup - and their newest star.
"It means everything for me, it was a unique moment, great euphoria... I'm extremely happy," Paralluelo said.
"We went to extra time, but the team kept on believing," said coach Jorge Vilda. "They played on an extraordinary level, all the players, and it was a match with a lot of emotional decisions, and the goal from Salma, it was sheer joy."
Spain will play Japan or Sweden, who meet in Auckland at 08:30 BST on Friday, in the semi-finals on Tuesday.
Spain dominate - as does VAR
Before Paralluelo grabbed the headlines, this seemed set to be a game defined by the video assistant referee (VAR).
Spain appeared to have taken the lead on 37 minutes when Esther Gonzalez slammed in from close range after Alba Redondo miscued her volley into the striker's path, but it was disallowed for offside on review.
The Spanish should have been out of sight by that point. Redondo hit the post twice in a matter of seconds - first seeing her header brilliantly tipped on to the woodwork by Daphne van Domselaar, before contriving to turn the rebound off the same upright.
The Netherlands were left aggrieved in the second half when referee Stephanie Frappart initially gave a penalty for Irene Paredes barging Beerensteyn to the ground, only to overturn her decision.
VAR then stepped in to give Spain a penalty for Van der Gragt's handball.
"VAR did not do its work properly, but Spain deserved to win," said Dutch manager Andries Jonker.
It appeared to be reward for Spain's dominance - but instead that arrived through substitute Paralluelo, the latest teenage star to make a splash at this World Cup.
Van der Gragt's dramatic finale
Van der Gragt, who is retiring from professional football after this tournament, could not have imagined a more dramatic way to bow out.
"It's hard now," said Van der Gragt. "We had the chance in extra time and we didn't score, they had one chance and they scored. That's football."
Earning her 106th cap in this match, she looked to be heading for a nightmare end to her career when she inexplicably handled Paralluelo's cross in the area, allowing Caldentey to score.
But the 30-year-old refused to let that be her final defining moment on a football pitch. As the second half ticked into 12 minutes of injury time, the centre-back found herself played clean through on the Spanish goal.
Van der Gragt steadied herself and fired perfectly across Cata Coll and into the net.
It was a temporary let-off for a Dutch side who were outplayed through the majority of this match. They missed Danielle van de Donk - suspended for this game - with one-time Spain international Damaris Egurrola unable to bring the same combativeness to midfield.
Jill Roord, whose four goals already are the most ever by a Dutch woman at a World Cup, was anonymous before being substituted on the hour. Her side were again reliant on keeper Van Domselaar - Aston Villa look to have got a real bargain with their newly signed goalkeeper.
But Van Domselaar could do nothing about the winner, which earned Spain a first major semi-final since the 1997 European Championships - six years before Paralluelo was born.
It means the Netherlands' first major tournament under manager Jonker, who took over after their quarter-final exit from Euro 2022, ends in failure.
"The disappointment is major, if we had won I am convinced we would have made it through the semi," said Jonker.
"I am very proud of this team, in one year we have got back in there [among the world's best teams]. Tough to swallow but we are back on the map."
Latest Stories
-
Kurt Okraku took out my passport from the U23 squad that travelled to Japan – Najeeb Yakubu alleges
9 mins -
Where hope fails: Ghana’s decaying home for the destitute
19 mins -
NDC Mining Committee for 2024 campaign refutes allegations of recruiting thugs for elections
29 mins -
Traction Control: A lifesaver with an off switch? Here’s why it exists
33 mins -
I don’t need anyman to woo me with money – Miss Malaika 2024 winner refutes pimping claims
40 mins -
”Kurt Okraku sabotaged my national team career because I refused to sign with Dreams FC” – Najeeb Yakubu
40 mins -
Businesses urged to leverage Generative AI for enhanced customer engagement
44 mins -
MultiChoice Ghana partners with Ghana Hotels Association to elevate guest entertainment
53 mins -
Bawumia’s music streaming app or Mahama’s pay-per-view TV channel?
58 mins -
Karpowership Ghana empowers 40 Takoradi Technical University students with scholarship
60 mins -
We expect significant reduction in prices of petroleum products in coming weeks – CEO AOMC
1 hour -
Betway Africa offers once-in-a-lifetime ‘Play-on-the-Pitch’ experience at Emirates Stadium
1 hour -
I coined the term ‘hype man’ in Ghana – Merqury Quaye
1 hour -
Vasseur questions ‘strange momentum’ of Formula One race director change
2 hours -
“I am disappointed in Kojo Manuel” – Merqury Quaye on “no tie” comment
2 hours