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'
|Pastore talents ´unpredictable´ - Blanc|
|Liverpool much bigger than City - Rodgers|
|AFC Champions League Preview: Evergrande look to progress|
|Clarke expects distraught Federici to bounce back|
|Toure is City´s scapegoat - agent|
|Allegri praises high-flying Juve|
|Athletic Bilbao 4 Getafe 0: Hosts end winless run|
|Depay elated at title success|
|Bale and Modric injuries sour Real win|
|Eredivisie Review: PSV seal title, Dordrecht on the brink of relegation|
|CAF Champions League Review: Kone battle back to hold TP Mazembe as El Merreikh stun ES Tunis|
|Juventus 2 Lazio 0: Tevez inspires win over in-form visitors|
|Ligue 1 Review: Monaco held by late Habibou strike, PSG back on top|
|Bundesliga Review: Bayern win to close in on title, no Klopp distraction for Dortmund|
|Real Madrid 3 Malaga 1: Ramos, Rodriguez and Ronaldo do the business for Real|
|Primeira Liga Review: Jonas double maintains Benfica lead, Porto remain three points back|
|PSV secure Eredivisie title|
|Simeone lauds first-half display|
|Reading motivation ´on a different planet´ - Wenger|
|Mourinho: Title almost secured after United win|
|Sampdoria 0 Cesena 0 : Strugglers frustrate Mihajlovic´s men|
|Fatigue taking its toll – Blanc|
|Van Gaal not convinced by Herrera decision|
|League Two Review: Burton seal promotion, relegation battle down to three|
|Reading 1 Arsenal 2 (aet): Federici left red-faced as holders avoid upset|
|Klopp braced for ´brutally emotional´ farewell|
|Burnley still have belief to beat drop - Dyche|
|Chelsea 1 Manchester United 0: Hazard puts leaders 10 points clear|
|Guardiola focusing on Champions League|
|Bale limps off for Real Madrid with apparent calf injury|
|Championship Review: Wigan keep survival hopes alive, Watford go top|
|Barcelona players ´empty´ after Valencia win, says Luis Enrique|
|Pulis thanks ´first-class´ Palace fans|
|Barkley will become ´an Everton great´ - Martinez|
|Deportivo La Coruna 1 Atletico Madrid 2: Griezmann brace does the damage|
|Monk: Swansea deserved defeat|
|Hughes proud of Stoke comeback|
|Pardew: Defeat will not change Palace approach|
|Penalty hero Bravo plays down role in Barca win|
|Aberdeen 1 Dundee United 0: Prolific Rooney seals European spot|
|League One Review: Bristol City clinch title, MK Dons batter Orient|
|Pearson: Still work to do for Leicester|
|Mirallas happy at Everton|
|Koeman remaining positive after Stoke defeat|
|Magnificent Messi brings up 400 Barca goals|
|Nice 1 Paris Saint-Germain 3: Pastore double sends champions back to top|
|Leicester City 2 Swansea City 0: Hosts´ survival hopes boosted with third win in a row|
|Stoke City 2 Southampton 1: Adam strike snatches victory|
|Barcelona 2 Valencia 0: Suarez and Messi on target as leaders battle to win|
|Everton 1 Burnley 0: Mirallas sends visitors bottom|
|Crystal Palace 0 West Brom 2: Pulis makes winning return to Selhurst Park|
|Hoffenheim 0 Bayern Munich 2: Champions end difficult week with hard-earned win|
|Borussia Dortmund 3 Paderborn 0: Hosts respond to Klopp news with fine display|
|Inter have more to lose than Milan - Mancini|
|A-League Review: Victory on the cusp of premiership|
|Newcastle job hardest in football - Carver|
|Diego Lopez a doubt for Milan derby|
|Tevez agent hits out at Boca|
|Mourinho hails ´consistent´ Hazard|
|Arteta: New contract will take five minutes|
|Lopetegui dismisses Real link|
|Ancelotti has no plans to sign new goalkeeper|
|Blanc backs Cavani to respond|
|New York Red Bulls 2 San Jose Earthquakes 0: Hosts stay unbeaten|
|Marseille cannot win title - Bielsa|
|Mourinho feels for Pellegrini|
|Vitoria Guimaraes 1 Sporting Braga 0: Valente header sinks visitors|
|Levante 2 Espanyol 2: Late Victor strike earns struggling hosts a point|
|Football League Review: Middlesbrough edge Norwich in promotion duel, Preston drop points again|
|Nantes 1 Marseille 0: Defensive gaffe leaves visitors´ title challenge in tatters|
|Cambuur 1 Excelsior 1: Record-breaker Ogbeche secures last-gasp draw|
|Eintracht Frankfurt 0 Borussia Monchengladbach 0: Favre´s men held in entertaining draw|
|Arabian Gulf League Review: Al Ain clinch title, Al Jazira humbled by local rivals Bani Yas|
|PSG welcome reduction to Ibrahimovic ban|
|Fournier anticipates improved derby showing from Lyon|
|Anti-Ashley fan protest could inspire Newcastle - Pochettino|
|Toure to stay at City - Pellegrini|
|Newcastle United v Tottenham: Carver pins hopes on Coloccini amid fan boycott plans|
|Manchester City v West Ham: Pellegrini calls for unity|
|Newport terminate Zebroski contract after conviction|
|El Ouriachi nears Stoke switch|
|Inter v Milan: Shaqiri upbeat ahead of first derby|
|Aston Villa v Liverpool: All eyes on Gerrard ahead of Wembley return|
|Sturridge to be given ´every possibility´ to get fit|
|Agbonlahor could make semi-final|
|Simeone: Forget about the Champions League|
|PSG captain Silva to miss Nice game|
|Pellegrini ´not hurt´ by Klopp speculation|
|Mourinho plays down United injury worries|
|A-League Review: Sydney, Phoenix keep hopes up in thrillers|
|Pellegrini fears Kompany´s season may be over|
|Costa in contention for Arsenal clash|
|Title possible but not logical for Van Gaal|
|Iniesta ruled out of Valencia visit|
|Van Gaal searching for answer to United injury ´puzzle´|
|Allardyce backs Koeman for managerial gong|
|Benzema to miss Malaga clash|
|Juventus v Lazio ´a Scudetto game´ - Allegri|
|Guardiola insists he is going nowhere|
|Bolasie worth £20million - Pardew|
|Newcastle fans to feed ducks during Spurs protest|
|Bayern confirm Muller-Wohlfahrt resignation|
|Balotelli most-targeted player for hate crimes on social media|
|Ancelotti: No calls from Manchester City|
|Pardew revels in ´a tremendous season´|
|Watzke hopes for swift Dortmund appointment|
|Atleti a different beast under Simeone, says Forlan|
|Di Maria suspension behind United resurgence, claims Scholes|
|Mertesacker hopes Klopp takes foreign challenge|
|Dyche demands diving answers|
|Skrtel ready for Benteke test|
|Mertesacker: Arsenal should manage Wembley pressure|
|Copa Libertadores Review: Wanderers advance, Palestino miss out|
|New York City 1 Philadelphia Union 1: Another late show frustrates hosts|
|Webb re-elected as CONCACAF president|
|Emery wary of Russia trip|
|Terry ´no chance´ of England return - Capello|
|Fatigue hurt us - Villas-Boas|
|Benitez praises ´spectacular´ Napoli|
|Brugge captain Simons accepts goalless draw|