Paco Alcacer's hat-trick helped Valencia make UEFA Europa League history by beating Basel 5-3 on aggregate in their quarter-final tie.
No side had ever come from three goals down to win a knockout tie since the advent of the Europa League, but Valencia did just that, triumphing after extra-time courtesy of a 5-0 second-leg win on an extraordinary night at the Mestalla.
Basel boss Murat Yakin had captained the Swiss side in a 6-2 defeat at the same venue 12 years ago and could only watch on in dismay as the visitors, who finished with nine men, imploded.
Alcacer produced a cool finish seven minutes before half-time to give Valencia hope and Edu Vargas made it 2-0 on the night with a powerful header four minutes later.
Both strikers struck the woodwork after the break as Valencia desperately sought to level the tie, eventually doing so in the 70th minute through Alcacer.
Alcacer should have scored again towards the end of 90 minutes, but couldn't convert a one-on-one chance, before Vargas struck the post with the rebound.
An under-pressure Basel then saw Marcelo Diaz and Gaston Sauro see red in the first half of extra-time, and Valencia took full advantage, with Alcacer completing his hat-trick after 113 minutes and Juan Bernat rounding off a remarkable win with a late fifth.
Valencia, who were without Diego Alves, Philippe Senderos and Victor Ruiz, initially struggled to find a way through a resolute Basel defence that had only conceded once in their last five Europa League games.
A frustrated home crowd were brought to life seven minutes before the break, however, when a nicely-weighted pass from Joao Pereira found Alcacer, who beat the offside trap before controlling the ball superbly with his chest and stroking home a cool finish from close range.
That strike clearly gave the hosts a fresh injection of confidence, and the lead should have been extended four minutes later when Vargas' point-blank header was kept out by Yann Sommer.
Vargas made amends for that miss from the resulting corner, rising highest to meet Daniel Parejo's delivery with a towering header into the top-right corner.
The Chilean should have been celebrating again nine minutes after the break when he burst through the heart of the visitors' defence to force an inspired save from Sommer, before clattering the rebound off the post from a tight angle.
Sommer was called into action again on 66 minutes, tipping Alcacer's curling effort from 20 yards onto the crossbar.
But he was beaten four minutes later when a hopeful long ball was brought down by Vargas. He set up Alcacer on the edge of the area, who lashed home an unstoppable shot via the underside of the crossbar.
Alcacer should have completed the comeback in the 88th minute but was denied by Sommer, before Vargas slid in to strike the post again.
Basel were yet again thanking Sommer within the first three minutes of extra-time, the goalkeeper this time denying Parejo after some good work down the left from Bernat.
The visitors then lost their composure and Diaz saw red for an off-the-ball incident before Sauro picked up two bookings in a minute.
Alcacer duly converted a low cross from substitute Pablo Piatti at the near post to give Valencia the lead and a famous win was completed in style when Bernat found himself on the edge of the box, before producing a cool finish to secure his side's place in the semi-finals.
|14||Juan Bernat||115' 118'|
|17||E. Vargas||42' 104'|
|16||Paco Alcácer||38' 70' 113' 114'|
for F. Cartabia 76'
for J. Mathieu 81'
for João Pereira 109'
|Ibrahimovic: United fans are waiting for me|
|Deulofeu shines for Everton, Cook opens Bournemouth account|
|Higuain out to emulate Del Piero|
|Kante does his talking on the pitch - Conte|
|Mourinho explains Fosu-Mensah snub|
|Klopp: No more unwanted players at Liverpool|
|Inter want more than €60m for Icardi - Thohir|
|Leicester can replace Kante - Ranieri|
|Lazio complete Wallace signing|
|Gueye set to join Everton, confirms Di Matteo|
|Tuchel: Transfer market has gone cash crazy|
|Leicester hand King new four-year deal|
|No deal done for Pogba, says Raiola|
|Rooney: Mourinho impact already huge|
|Lafferty hit with FA betting charge|
|Top-four finish never enough for Arsenal, insists Wenger|
|Partey hoping to make his mark on Atletico squad|
|Ibrahimovic in, Schweinsteiger out as United head for Galatasaray friendly|
|Vietto set for Sevilla after completing medical|
|I rejected Besiktas to fight for Barcelona spot, reveals Mathieu|
|De Laurentiis fumes at Higuain´s ´lack of respect´|
|Promising Janssen boosts Tottenham´s title hopes|
|Besiktas sign Adriano on three-year contract|
|Tottenham 0 Atletico Madrid 1: Godin grabs the winner|
|Gomis completes Marseille loan move|
|Iniesta surprised at Casillas-Del Bosque spat|
|New Juve signings do not guarantee success - Allegri|
|New Juve signings do not guarantee success - Allegri|
|Middlesbrough snap up goalkeeper Guzan|
|Guardiola still loves Ribery despite jibes|
|West Ham worry over Tore injury|
|Serie A could be another one-horse race, says Eriksson|
|Schweinsteiger retires from Germany duty|
|Iniesta welcomes Barca´s midfield competition|
|Drogba: No luck in Arsenal scoring record|
|Wenger seeks ´experienced´ striker to bolster Arsenal attack|
|Eriksson and Shanghai SIPG still fighting|
|MLS All-Stars 1 Arsenal 2: Premier League giants win late as Xhaka makes debut|
|Conte: I want aggression and intensity|
|Wimmer backs physical Janssen for Tottenham success|
|Klopp: I wouldn´t spend £100m on one player|
|Sampaoli: Taking Argentina job would be irresponsible|
|Payet absence no excuse - Noble|
|Gabriel Jesus expects Palmeiras exit amid Manchester City rumours|
|Domzale 2 West Ham 1: Crnic double stuns Bilic´s side|
|Juventus target Gabriel Barbosa says Santos exit is close|
|Leicester duo ready for ´once in a lifetime´ Champions League journey|
|Fabregas apologises for Klavan lunge|
|Reschke: Guardiola wanted Tuchel to be his successor|
|Pochettino expecting further Tottenham signings|
|Given retires from international football|
|Abdi and Pudil swap Watford for Wednesday|
|Leicester sign Chilwell to new five-year deal|
|Klopp pre-season ´most intense ever´ for Sturridge|
|Simeone backs Griezmann for Ballon d´Or final three|
|Puskas Award winner quits football - to become a gamer|
|Simeone: Champions League final felt like a death|
|Higuain: I have to prove my worth to Juventus|
|Guardiola confirms interest in Sane and Stones|
|Moreno set for Manchester City switch and Deportivo loan, claims agent|
|De Laurentiis pushed me into Juventus move - Higuain|
|Savic seeking to put injury woe behind him|
|Borussia Dortmund 1 Manchester City 1 (5-6 pens): Gunn´s shootout saves earn Guardiola first win|
|Oblak: Atleti need consistency and luck|
|Warburton rubbishes Van Persie rumours|
|Hospitalised Grujic ´can´t remember anything´, says Klopp|
|Premier League, Serie A appeal to Simeone|
|Copa Libertadores success ´a dream´ for Borja|
|Pochettino honoured by Simeone comparisons|
|Argentina have not asked for Sampaoli - Monchi|
|Ancelotti: Fitness the key for Bayern|
|Bayern win ´a small foundation´ for Montella´s Milan|
|Icardi missing due to injury - Mancini|
|Emery satisfied with warm-up win over Madrid|
|Conte quiet on Tevez, apologises for Fabregas red|
|´It was far from a friendly´ - Klopp on Chelsea defeat|
|Madrid off the pace, concedes Zidane|
|Chelsea 1 Liverpool 0: Cahill´s header seals win|
|Grujic says Chelsea´s Matic told him to sign for Liverpool|
|Bolasie wants to see Berahino and Benteke at Crystal Palace|
|Rodgers hails ´outstanding result´ as Celtic draw|
|Walcott claims level of MLS is close to Premier League|
|Bayern Munich 3 AC Milan 3 (3-5 on penalties): Bonaventura seals win|
|Atletico Nacional 1 Independiente del Valle 0 (2-1 agg): Borja secures Copa Libertadores crown|
|Icardi absent again as Inter held by Estudiantes|
|Real Madrid 1 Paris Saint-Germain 3: Zidane oversees poor pre-season start|
|Hazard vows to rediscover best Chelsea form|
|Klopp reveals why he sent Sakho back to Liverpool|
|Tevez: Conte wanted me at Chelsea|
|Sunderland hopeful Defoe will be fit for Man City opener|
|Sundowns overcome Zamalek to book semi-final spot|