England are through to the semi-finals of the European Women's Championship after coming from behind in dramatic fashion to beat pre-tournament favourites Spain in extra time.
Georgia Stanway sent the Amex Stadium into delirium when she thumped in the winner after Sarina Wiegman's side had trailed up until the 84th minute of normal time.
A rendition of Football's Coming Home broke out in the stands as Stanway sprinted over to the corner to celebrate, with England leading for the first time after 95 minutes.
Substitute Ella Toone had volleyed in Manchester United team-mate Alessia Russo's flick-on to cancel out Esther Gonzalez's opener, setting up a nervous ending in stoppage time.
England had momentum on their side and capitalised as the crowd in Brighton were on their feet, while Spain continued to threaten until the final whistle.
Eventual victory for the hosts ensured they reached a fourth successive women's major tournament semi-finals and their impressive unbeaten run under Wiegman extends to 18 matches.
The Lionesses are now one of the leading favourites to lift the trophy for the first time at Wembley on 31 July, but they must overcome either Sweden or Belgium in the last four to get there.
Spain leave the tournament at the quarter-finals stage for the third successive time.
Momentum continues for nerveless England
England's tournament had played to perfection leading into this match, with the Lionesses topping their group having not lost a game or conceded a single goal.
Their first real test came days before the quarter-final as manager Wiegman tested positive for Covid and only confirmed her return to the dugout three hours before kick-off.
The nerves were to be tested again though, as Spain showed their quality in the first half and dominated until deservedly opening the scoring nine minutes after the break.
Athenea del Castillo, on as a substitute, got the better of full-back Rachel Daly and set-up Gonzalez to fire into the bottom corner, silencing a stunned home crowd.
But Wiegman immediately responded with a triple change - introducing Manchester United duo Russo and Toone, as well as Manchester City winger Chloe Kelly - and it proved to be inspired.
They made a crucial impact as Kelly reignited energy, while Toone and Russo combined for the equaliser to take the game to extra time.
Stanway, who had been challenged by an impressive Spanish midfield for most of the match, saw space to exploit as she broke through the middle and did not hesitate before striking it powerfully into the top left corner for England's devastating winner.
A roar erupted inside the stadium - an apparent release of relief and adrenaline as supporters sensed this was the ultimate turning point in a game largely dominated by the visitors.
Spain continued to fight for an equaliser as Amaiur Sarriegi struck dangerously wide in extra time, but England held their nerve to keep their hopes of winning a first women's major tournament alive.
Emotions on show as drama unfolds
England had not conceded a goal in the tournament before Esther Gonzalez gave Spain the lead early in the second halfThe significance of this victory was clear as England's bench ran on to the pitch at full-time to celebrate, while Wiegman turned to the TV camera with fists clenched and passionately shouted: "Come on!"
England are on a winning run and they are desperate for it to continue all the way to the final at Wembley.
The tournament has already delivered some memorable moments - one coming after England's 8-0 win over Norway on their last outing at the Amex Stadium - but this felt like a bigger outpouring of emotion.
England needed to show something they haven't had too many times before under Wiegman.
It was only the second time they had trailed in a match - the first coming against the Netherlands in June's warm-up friendly.
Spain's opener was the first goal England had conceded in this tournament and up until the 83rd minute it felt like they were about to lose for the first time under Wiegman.
But England's quality in depth off the bench was again invaluable as 22-year-old Toone crowned a stunning year for club and country by firing in the game-turning equaliser.
The players embraced arm-in-arm at full-time and danced to England's favourite tournament songs, before taking in a lap of honour.
The hosts once again demonstrated all the ingredients needed to win the tournament and they are two wins away from the ultimate prize.
Player of the match
RussoAlessia Russo
Spain
Squad number6Player nameBonmatí
Squad number14Player nameSarriegi
Squad number10Player namedel Castillo
Squad number11Player nameCardona
Squad number8Player nameMariona Caldentey
Squad number19Player nameCarmona
Squad number9Player nameGonzález
Squad number16Player nameMapi León
Squad number2Player nameBatlle
Squad number18Player nameAbelleira
Squad number21Player nameGarcía
Squad number4Player nameParedes
Squad number3Player nameAleixandri
Squad number12Player namePatri Guijarro
Squad number13Player namePaños
Line-ups
England
Formation 4-2-3-1
1Earps
2Bronze6Bright8Williamson3Daly
10Stanway4Walsh
7Mead14Kirby11Hemp
9White
1Earps2Bronze6Bright8Williamson3DalySubstituted forGreenwoodat 82'minutesBooked at 119mins10Stanway4WalshSubstituted forScottat 116'minutes7MeadSubstituted forKellyat 58'minutes14KirbySubstituted forTooneat 64'minutes11HempSubstituted forParrisat 117'minutes9WhiteSubstituted forRussoat 59'minutesSubstitutes
5Greenwood12Carter15Stokes16Scott17Parris18Kelly19England20Toone21Roebuck22Wubben-Moy23RussoSpain
Formation 4-1-4-1
13Paños
2Batlle4Paredes16León Cebrián19Carmona
12Guijarro Gutiérrez
11Cardona6Bonmatí18Abelleira8Caldentey Oliver
9González
13Paños2Batlle4Paredes16León CebriánBooked at 45mins19Carmona12Guijarro Gutiérrez11CardonaSubstituted fordel Castilloat 45'minutes6Bonmatí18AbelleiraSubstituted forAleixandriat 71'minutes8Caldentey OliverSubstituted forSarriegiat 100'minutes9GonzálezSubstituted forGarcíaat 77'minutesSubstitutes
1Gallardo Núñez3Aleixandri5Andrés7Guerrero10del Castillo14Sarriegi15Ouahabi17García20Pereira21García22Pina23Rodríguez RiveroReferee:Stéphanie FrappartAttendance:28,994Live Text
Match ends, England 2, Spain 1.
Second Half Extra Time ends, England 2, Spain 1.
Mapi León (Spain) wins a free kick in the defensive half.
Foul by Nikita Parris (England).
Foul by Sheila García (Spain).
Alex Greenwood (England) wins a free kick in the defensive half.
Corner, Spain. Conceded by Alex Greenwood.
Olga Carmona (Spain) wins a free kick in the defensive half.
Foul by Nikita Parris (England).
Alex Greenwood (England) is shown the yellow card.
Foul by Ona Batlle (Spain).
Chloe Kelly (England) wins a free kick on the left wing.
Substitution, England. Nikita Parris replaces Lauren Hemp.
Substitution, England. Jill Scott replaces Keira Walsh because of an injury.
Foul by Laia Aleixandri (Spain).
Alessia Russo (England) wins a free kick in the attacking half.
Foul by Olga Carmona (Spain).
Chloe Kelly (England) wins a free kick in the defensive half.
Corner, Spain. Conceded by Ella Toone.
Attempt missed. Olga Carmona (Spain) left footed shot from outside the box is high and wide to the left.