Benfica's UEFA Champions League adventure came to end on Tuesday despite an excellent 2-1 win over Paris Saint-Germain.
Olympiacos' 3-1 triumph over eight-man Anderlecht ensured that the Greeks claimed runners-up spot in Group C, while the Primeira Division side will have to be content with a spot in the Europa League.
It comes as a cruel blow to Jorge Jesus' men after they produced an excellent display against the Ligue 1 champions, recovering from Edinson Cavani's 37th-minute opener to claim the points on home soil.
Lima levelled with a first-half spot-kick, awarded following what appeared to be an accidental clash of heads between debutant Kalifa Traore and Silvio, before Nicolas Gaitan struck the winner 13 minutes into the second half.
But, despite inflicting PSG's first Champions League defeat in 14 matches, Benfica's inferior head-to-head record against Olympiacos saw their dreams of reaching the final, which will be hosted at their own ground, dashed.
PSG coach Laurent Blanc left Zlatan Ibrahimovic and Thiago Silva out of the squad altogether, with Cavani handed a starting berth.
The hosts featured Lima and Lazar Markovic in attack as Rodrigo, whose last-gasp goal earned the vital 3-2 triumph over Anderlecht last time out in the group stage, was named on the bench.
Enzo Perez underlined Benfica's positive intent with an early long-range drive that forced a flying save from Salvatore Sirigu.
And Sirigu was called into action again with seven minutes on the clock, getting down low to his right to palm away Nemanja Matic's near-post effort.
The visitors fired a warning shot on the counter attack as Jeremy Menez raced down the left before seeing his low strike well kept out by Artur.
It was the Portuguese side who carried the greater threat, however, and when Gaitan cut inside, he sent a curling left-footed effort just wide of the stranded Sirigu's right-hand upright as Benfica piled on the pressure.
But eight minutes before the interval, Blanc's charges took the lead as Menez raced to cut back a ball that appeared to be going out of play, with Cavani pouncing to turn home from point-blank range.
However, the response was swift, Lima converting from the spot following Traore's challenge on Silvio.
It should have been 2-1 to Benfica just two minutes into the second half but Gaitan shot woefully wide after Lima's blocked shot bounced to him eight yards out.
Jesus' men continued to press, the lively Lima testing Sirigu's reflexes again with a rising 20-yard strike after 52 minutes, and Luisao heading over two minutes later.
And they got their reward when Gaitan stabbed over the line from deep inside the area following excellent work from Maxi Pereira just before the hour mark.
Substitute Ezequiel Lavezzi almost grabbed an equaliser for PSG but saw his shot go just wide as Benfica held on for the win, only to be left disappointed by the news from Olympiacos.
|James wants Real Madrid stay, says wife|
|Copa Libertadores Review: Iquique beat Zamora in seven-goal thriller|
|Pochettino hits back at ´enemy´ Xavi over Alli speculation|
|Mourinho: City favourites for top four, not United|
|Sanchez won´t be sold to Premier League rival, insists Arsenal boss Wenger|
|Simeone: Atletico have four finals after Villarreal loss|
|Goals are his life - Chelsea boss Conte delighted to see Costa back on target|
|Puel praises former pupil Hazard after Chelsea defeat|
|Carrasco suffers collarbone injury in Villarreal defeat|
|I have a squad of great men - Conte lauds Chelsea toughness in Southampton win|
|A massive step - Cahill, Hazard confident on Chelsea´s title charge|
|Borussia Monchengladbach 1 Eintracht Frankfurt 1 (aet, 6-7 pens): Hradecky and Hrgota heroes|
|Atletico Madrid 0 Villarreal 1: Late Soriano strike downs Simeone´s side|
|Wolves 0 Huddersfield Town 1: Brown seals play-off spot for Terriers|
|Angers 2 Guingamp 0: Letellier saves hosts from penalty injustice|
|Niasse red card overturned after Hull City appeal|
|Chelsea 4 Southampton 2: Hazard, Cahill and Costa move Conte´s men a step closer|
|Ramos receives one-match ban for Messi foul in El Clasico|
|AFC Champions League Review: Paulinho at the double in Guangzhou Evergrande rout|
|United need Griezmann - Silvestre backs proven goalscorer to emulate Rooney|
|Roma can achieve great things - Serie A club can join Europe´s elite, claims Monchi|
|Mourinho: Manchester derby not about me and Guardiola|
|Cavani extends PSG contract until 2020|
|Amsterdam ArenA to be renamed after Johan Cruyff|
|Surgery all that matters for Ibrahimovic - Mourinho realistic on United star´s future|
|Ibrahimovic should join me in MLS - Schweinsteiger|
|I cannot guarantee anything - Pochettino puts Alli future aside for Spurs title charge|
|Emery expecting full-strength Monaco for semi-final|
|Schweinsteiger has no regrets over Manchester United move|
|Sanchez a slow starter - Wenger|
|Zidane would not change Clasico approach|
|Sahin signs Dortmund contract extension|
|Luis Enrique wishes Barcelona had Madrid´s extra games|
|Ancelotti unhappy with Ribery performances|
|Rooney´s Manchester United future ´doesn´t look good´|
|Bale a doubt for Champions League semis with calf injury|
|Luis Enrique reiterates wish for Messi to end career at Barcelona|
|Tuchel relies on Reus to lead Dortmund past Bayern|
|Hazard not right for Chelsea captaincy|
|Pogba might regret leaving Juventus - Barzagli|
|Wenger in jovial mood over Arsenal future|
|Wenger dismisses Giroud to Marseille talk|
|Xavi expects Guardiola to make Alli move|
|Sanchez would be a good signing for Bayern – Matthaus|
|Hazard in no rush to sign Chelsea renewal amid ongoing Real Madrid links|
|Fernandez rules out Neymar exit, plays down Dybala talk|
|Herrera talks up Manchester derby importance|
|Maradona doubts Argentina World Cup qualification without Messi|
|Messi, Iniesta to renew deals soon – Fernandez|
|Benitez unsure over Newcastle future after promotion|
|Premier League win with Chelsea would be Conte´s greatest moment|
|Toure wants derby day tonic for faltering Manchester City|
|Cech hoping for FA Cup joy against old friends when Arsenal face Chelsea|
|Pescara 1 Roma 4: Salah brace condemns Serie A basement boys|
|Newcastle United 4 Preston North End 1: Perez at the double as Benitez´s men seal Premier League ret|
|Simeone: Atletico had a rough patch in 2016|
|Reo-Coker, Richardson to be offered deals for next season at cash-strapped Granada|
|Osasuna forced to design new kit for Barcelona clash|
|Blind happy to play wherever Mourinho needs him|
|AFC Champions League Review: Al Ain beat Zob Ahan, Al Hilal progress|
|Roma seal deal for Sevilla sporting director Monchi|
|Aguero and Silva train with Manchester City after Wembley injuries|
|Wijnaldum urges Liverpool to keep fighting|
|Conte: FA Cup win over Tottenham will not benefit Chelsea in title race|
|Messi feels Clasico win an important step towards LaLiga glory|
|Inter give Pioli vote of confidence|
|Messi is not selfish – Conte shoots down Fabregas over Hazard advice|
|Allegri: Juventus not perfect yet|
|Zidane has no regrets over playing Bale in Clasico|
|Ibrahimovic is privileged physically - Herrera|
|Lahm desperate for DFB-Pokal glory before retirement|
|Bojan revels in landmark strike against Bayern|
|Schalke laugh off Liverpool interest in Kolasinac, Meyer and Goretzka|
|Lyon ready to ´go crazy´ to keep Lacazette – Aulas|
|Mata could return for Manchester United season finale|
|We´ve let him down – Ramsey wants FA Cup win to repay Wenger|
|Five finals between Monaco and Ligue 1 glory – Falcao|
|Martial ´a new player´ as Mourinho hails Burnley performance|
|Play Man United without a referee? I would prefer that – Toure fury with Wembley officials|
|Czech Republic international Rajtoral dead at 31|
|#Messi500 breakdown: How Clasico winner took Messi to new heights|
|Marcelo: Madrid not inferior to Barca after Clasico loss|
|MLS Review: Larin brace sinks NYC, Dempsey stars for Sounders|
|Clasico hero Messi a blessing for Barcelona, says Iniesta|
|The best player in history – Suarez congratulates Messi|
|Carvajal: Ramos red card defined Clasico and Madrid loss to Barca|
|Messi cannot surprise anyone – Rakitic lauds Barcelona hero|
|Sergio Ramos feels red card was excessive: I did not try to hurt Messi|
|I don´t understand your question - Wenger unsure of impact from semi-final win|
|Giving up is not an option - Injured United star Ibrahimovic vows to return|
|Pique: Ramos will realise he deserves his red once he gets home|
|Zidane: Real Madrid should have been smarter with 10 men|
|Lyon 1 Monaco 2: Falcao and Mbappe make the difference|
|Messi is decisive even when he´s eating dinner at home - Luis Enrique hails Barca star after Clasico|