Nabil Ghilas was once more the hero as Porto secured a 2-2 draw at Napoli to reach the quarter-finals of the UEFA Europa League.
Leading 1-0 from the first leg thanks to Jackson Martinez's goal, Napoli levelled Thursday's tie through Goran Pandev's first-half strike at Stadio San Paolo.
The hosts piled on the pressure and spurned several chances in search of a crucial second goal.
And Napoli were harshly punished by substitute Ghilas on the break in the 69th minute, with the Algeria striker having also scored the equaliser in a 3-3 draw against Eintracht Frankfurt that sent Porto into the last 16 on away goals.
Ricardo Quaresma then put the tie seemingly beyond doubt with a superb strike 14 minutes from time before Duvan Zapata netted a late equaliser to level on the night, but Porto progressed with a 3-2 aggregate victory that boosts interim coach Luis Castro's hopes of getting the role on a permanent basis.
Napoli head coach Rafael Benitez had described the tie as "like a final" in the build-up and his side rose to the occasion in the first half to lead thanks to Pandev's calm finish.
But Porto's quick turnaround in the second half ended the Spaniard's hopes of winning the Europa League for the second straight year, following his triumph with Chelsea in the 2013 final.
Napoli began the match at a quick tempo and created two chances in the opening 10 minutes. Dries Mertens was first denied by Fernando's fine last-ditch tackle, before Lorenzo Insigne stung the palms of Porto goalkeeper Fabiano.
Benitez's men continued to control play and full-back Henrique flashed a half-volley across the face of goal after quarter of an hour.
And Napoli's early pressure paid dividends in the 21st minute, as Benitez's men deservedly levelled the tie on aggregate.
Gonzalo Higuain held the ball up on the edge of the area before his neat throughball found Pandev's clever run into the box and the forward provided a delicate finish past Fabiano.
Porto sought an equaliser, but it took 33 minutes for the visitors to threaten Pepe Reina's goal, when Quaresma's corner was headed wide at the back post by Martinez.
The lively Insigne then threatened to put Napoli ahead as he cut inside Danilo from the left and flashed a shot wide of the near post.
The diminutive forward went close again early in the second half, but his downward header at the back post was expertly saved by Fabiano at point-blank range.
Porto had offered little going forward, yet nearly snatched a goal in the 57th minute when Quaresma's free-kick was glanced narrowly wide by Carlos Eduardo.
Napoli then had two good chances to take the lead in the tie through Higuain and Mertens before their wastefulness was duly punished.
First, Ghilas – who had replaced Silvestre Varela - sprung the offside trap to receive Fernando's superb throughball and keep his composure to slot firmly past Reina.
And, with just under 15 minutes remaining, Quaresma weaved his way through the defence before unleashing into the roof of Reina's goal.
Napoli clinched a draw on the night in injury time when Jose Callejon's ball across the six-yard box was tapped home by Zapata, but it was too little, too late for the hosts.
|Coach: Rafael Benítez|
for G. Pandev 68'
for G. Higuaín 79'
for D. Mertens 83'
|Martinez has no guarantees over Everton future|
|Copa Libertadores Review: Independiente stun defending champions, Tevez leads Boca|
|Bilic backs video technology|
|Olsen: Faroe Islands inspired Leicester´s title bid|
|Herrera: United don´t want Leicester to win title at Old Trafford|
|Hart out to erase painful Bernabeu memories|
|Perisic: Liverpool and Chelsea should talk to Inter|
|Allardyce doubts Palace focus ahead of Newcastle trip|
|Weah to run for president of Liberia|
|Klopp warns Villarreal Europa League tie is not over|
|Pique: Losing La Liga would be a failure|
|Villarreal were not lucky to beat Liverpool - Marcelino|
|Lucescu: Shakhtar still believe in final|
|Emery insists Sevilla not there yet|
|Toure and Mignolet confident of Liverpool turnaround|
|Appeals Committee upholds Simeone´s three-game ban|
|Klopp baffled by Liverpool defensive collapse|
|Villarreal 1 Liverpool 0: Adrian hands injury-time advantage to La Liga side|
|Shakhtar Donetsk 2 Sevilla 2: Gameiro nets late penalty to salvage draw|
|Bayern Munich v Borussia Monchengladbach: Wounded Bayern on the brink of Bundesliga glory|
|Reina lauds Atletico ´super-team´|
|AC Milan announce €89.3m loss|
|Wilshere: Injuries inevitable with my style of play|
|Atletico Madrid v Rayo Vallecano: Saul demands La Liga focus|
|Mancini feels Toure swoop is unlikely|
|Atletico a joy to watch, says Allardyce|
|Liverpool ordered to pay record tribunal fee to Burnley for Ings|
|Klaassen not interested in Napoli move|
|Borussia Dortmund v Wolfsburg: Hummels transfer request disrupts hosts´ preparation|
|Alli banned for the rest of Spurs´ season by FA|
|West Brom v West Ham: Bilic tips Pulis to put up a fight|
|Agbonlahor steps down as Aston Villa captain|
|Real Betis v Barcelona: Mixed emotions for Montoya as visitors close in on title|
|Hummels tells Dortmund he wants Bayern move|
|Matuidi out of PSG-Rennes clash|
|Newcastle United v Crystal Palace: Pardew poised for St James´ return|
|Flores reveals Watford break clause|
|England´s Jones helps Pardew keep Eagles grounded|
|Arsenal v Norwich City: Under-fire Wenger buoyed by easing injury woes|
|Forster: Chelsea rumours a compliment|
|Lambert to leave Blackburn|
|Sakho provisionally suspended by UEFA|
|Stoke City v Sunderland: Allardyce wary of wounded Potters|
|Falcao: USA can win Copa America|
|Madrid confirm Benzema hamstring strain|
|Everton v AFC Bournemouth: Martinez wants repeat of Wembley second-half|
|Fabregas wants title challenge under Conte|
|The pressure got to me at Tottenham, reveals Soldado|
|Bilic has no concerns over Cresswell future|
|Bilic: I might have to be a Manchester United fan!|
|Real Sociedad v Real Madrid: Carvajal hoping to cope without Benzema and Ronaldo|
|Martinez: Judge me over three seasons, not two or three months|
|Unhappy Muller accepts being dropped for Atletico clash|
|Cattermole crucial to Sunderland relegation fight - Allardyce|
|Leicester success not a one-off - Mandaric|
|There cannot be two coaches of Inter - Mancini|
|Guardiola: Don´t compare Saul to Messi|
|MLS Review: NYC stumble again, Timbers hold Revolution|
|America 2 Tigres UANL 1 (4-1 agg): Arroyo, Martinez seal win|
|Copa Libertadores Review: Rosario claim away advantage, Corinthians hold Nacional|
|PSG prospect Edouard signs first professional contract|
|Gap between Juventus and Milan is ´embarrassing´ - Sacchi|
|Mancini: I made some errors this season|
|Schlupp: Leicester are playing to win the title|
|Leicester showing nothing is impossible - Del Piero|
|Zidane does not like James, claims Valderrama|
|Pressure on ´legendary´ Liverpool - Marcelino|
|Madrid clash ´career-defining´ - Kompany|
|Neuer: We have to be awake in Munich|
|Moreno: I´m at my best thanks to Klopp|
|Bale: City are elite but Madrid more mature|
|We showed we belong - Oblak|
|Torres: This is for the Atletico supporters|
|Alonso: It could have been worse but Bayern still believe|
|Simeone praises ´best´ Atletico after Bayern triumph|
|Guardiola blames slow start for Bayern loss|
|Saul hails most important and beautiful goal of his career|
|Filipe Luis lauds Atletico match-winner Saul|
|Chelsea down City for third straight FA Youth Cup|
|Atletico Madrid 1 Bayern Munich 0: No joy for Pep as Saul answers the call|
|Lille 0 Angers 0: Coupe de la Ligue finalists frustrated in stalemate|
|Lucescu plays down Konoplyanka factor|
|Experience can count for nothing, Klopp warns Liverpool|
|Sevilla are ready to make history - Emery|
|Klopp delight for Hillsborough families|
|Cosmos boss claim contact with Totti|
|Paris Saint-Germain v Rennes: Pastore insists champions remain motivated|
|Ronaldo will be ´80 per cent´ fit... according to his mother|
|Europa League a ´dream´ for Villarreal and Soldado|
|Ozil: Third place will mean Arsenal have achieved target|
|The Bendtner experiment was a failure - Allofs|
|Infantino wants friendly between North and South Korea|
|´The worst cash out decision in history´ - Leicester backer bailed on 5000/1 bet - for 95p!|
|Sakho will not contest doping offence, but has Euro 2016 lifeline|
|Ibrahimovic, Di Maria, Ben Arfa up for Ligue 1 award|
|Simeone banned for rest of Liga season|
|Cazorla open to Villarreal return|
|RB Leipzig rejected Vardy for being ´too old´ at 27|
|Villa: Griezmann at Messi and Ronaldo´s level|
|ICC chief dreams of hosting Old Firm derby at Wembley|
|Evra: Allegri has no time for idiots|
|Beckenbauer backs Hoeness to step in for Sammer at Bayern|
|Benzema is France´s best striker - Sagna|
|Guardiola: Bayern success hinges on Champions League|
|´Never give up and be positive´ - Ronaldo rallies Madrid team-mates|
|Hart performance was ´Schmeichel-esque´ - Ferdinand|
|Benitez relieved for Hillsborough families|
|It´s hard without Ronaldo - Kroos|
|Former Inter midfielder Mariga banned for five games for injuring referee|
|Nichols free to play grand final|
|Copa Libertadores Review: Mosquera gives Tachira advantage, Nacional hold Huracan|
|Sampaoli: I almost joined Chelsea|
|Leicester´s triumph unbelievable, but deserved - Fletcher|
|Szczesny wants Roma stay|
|Torres: Nothing would compare to winning a title with Atleti|
|Ramos satisfied with 0-0 draw|
|Filipe Luis: Leicester are like Atletico|
|Ronaldo is not a child - Casemiro|
|Lewandowski: Maybe I will play in England or Spain|
|There are ´a million´ more disappointing results than 0-0 - Kompany|
|Leicester don´t need Vardy to win title at United, says Simpson|
|Dalglish: Families deserve Hillsborough verdict|
|Moving Southampton game impossible - Pellegrini|
|Tavecchio coy on Conte replacement|
|Pellegrini accuses Madrid of lacking intent in stalemate|
|Bale pleased with Madrid display|
|Ronaldo, Benzema doubtful for second leg against City|