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
-
Syria’s minorities seek security as country charts new future
30 minutes -
Prof. Nana Aba Appiah Amfo re-appointed as Vice-Chancellor of the University of Ghana
37 minutes -
German police probe market attack security and warnings
37 minutes -
Grief and anger in Magdeburg after Christmas market attack
38 minutes -
Baltasar Coin becomes first Ghanaian meme coin to hit DEX Screener at $100K market cap
1 hour -
EC blames re-collation of disputed results on widespread lawlessness by party supporters
2 hours -
Top 20 Ghanaian songs released in 2024
2 hours -
Beating Messi’s Inter Miami to MLS Cup feels amazing – Joseph Paintsil
2 hours -
NDC administration will reverse all ‘last-minute’ gov’t employee promotions – Asiedu Nketiah
2 hours -
Kudus sights ‘authority and kingship’ for elephant stool celebration
2 hours -
We’ll embrace cutting-edge technologies to address emerging healthcare needs – Prof. Antwi-Kusi
3 hours -
Nana Aba Anamoah, Cwesi Oteng special guests for Philip Nai and Friends’ charity event
3 hours -
Environmental protection officers receive training on how to tackle climate change
3 hours -
CLOGSAG vows to resist partisan appointments in Civil, Local Government Service
4 hours -
Peasant Farmers Association welcomes Mahama’s move to rename Agric Ministry
4 hours