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.
|Bale would be ´perfect´ for United - Scholes|
|Badstuber and Bellarabi out of Georgia clash|
|Rooney KOs boxing celebration|
|Allen thrilled with Welsh ´hunger´|
|Kovacic to miss Euro 2016 qualifier|
|Costa Rica 0 Paraguay 0: Dour draw marks Diaz debut|
|Reid ruled out of South Korea friendly|
|Deschamps talks up France despite defeat|
|Rooney chasing England goalscoring record|
|Brazil ´superior´ admit French veterans|
|Reeves sidelined for Finland clash|
|Confidence critical for rampaging Brazil - Dunga|
|France 1 Brazil 3: Dunga´s men maintain winning run|
|Chile 0 Iran 2: Nekounam and Amiri down Copa America hosts|
|Premier League to share over £1bn from record TV deal|
|Morocco v Uruguay: Last chance to impress Tabarez for Copa champions|
|Iran 2-0 Chile: Nekounam and Amiri down Copa America hosts|
|Ivanovic braced for Ronaldo test|
|Bahrain 0 Colombia 6: Falcao stars in comfortable victory|
|Jones to Bournemouth leads loan deadline day moves in Championship|
|Bahrain 0-6 Colombia: Falcao stars in resounding victory|
|Malmo fined for poor pitch by UEFA|
|League Two Preview: Hartlepool aim to continue great escape, leaders Burton host Stevenage|
|France 1-3 Brazil: Neymar on target as Selecao triumph in Paris|
|Bulgaria v Italy: Verratti vows to be Azzurri´s midfield general|
|Kane primed for full England debut|
|Kone receives positive news over knee injury|
|Terry pens new Chelsea deal|
|PSG tie down Marquinhos|
|De Gea stamp was accidental - Skrtel|
|Villa hopeful over Xavi reunion|
|El Salvador v Argentina: Messi set for Roca reunion|
|Ghana v Senegal: Grant´s side looking to rebuild after AFCON disappointment|
|Ferdinand to serve extended touchline ban|
|League One Preview: Duo aiming to inspire Notts County revival, Alexander back at Preston|
|Hodgson keeps an eye on Sterling and Milner|
|Filipe Luis cools talk of Atleti return|
|West Brom to wear retro kit for Leicester clash|
|Netherlands v Turkey: Sneijder unconcerned by key absentees|
|Del Bosque wary of Ukraine threat|
|Israel v Wales: Pivotal fixture for both sides in chase for Euro dream|
|Bosnich backs Villa to beat drop|
|Walcott denies Wenger ´bust-up´|
|Hart: Aguero more difficult to face than Messi|
|Williams: I can´t see myself playing for anyone else|
|Coutinho eager to add more goals to his game|
|Khedira confirms Real exit|
|Messi attends NBA match with Argentina squad|
|United will qualify for Champions League - Bosnich|
|Mexico v Ecuador: Hernandez desperate to play|
|Podolski plays down Germany cameo|
|Bendtner: I could have scored four|
|Leverock family adds to World Cup exploits for Bermuda|
|Pele: ´Impossible´ for Neymar to replace me|
|MLS Preview: New England hoping to end drought|
|A-League Preview: Phoenix without stars for Sydney showdown|
|Klinsmann laments late collapse|
|Premier League clubs post first pre-tax profit for 15 years|
|Vokes relishing chance to link up with Bale|
|Dunga encourages Brazil to entertain|
|Dyke: FA to discuss Hodgson extension|
|Janko eyes history with Austria|
|Wilson urges Begovic to stay put|
|Strachan: Scotland have work to do|
|Sky´s the limit for Australia - Postecoglou|
|Low unhappy with below-par Germany|
|Scotland 1 Northern Ireland 0: Berra´s header settles dour contest|
|Germany 2 Australia 2: Substitute Podolski salvages draw|
|Denmark 3 United States 2: Bendtner hat-trick rescues Danes|
|Scotland 1-0 Northern Ireland: Berra the unlikely hero for hosts|
|Gobbi: Players will ´pay the price´ to keep Parma afloat|
|Rose withdraws from England squad|
|Germany 2-2 Australia: Podolski rescues draw for World champions|
|Denmark 3-2 USA: Bendtner hat-trick wins it for the Danes|
|Nigeria 0 Uganda 1: Late winner sours Enyeama landmark|
|Swaziland 1 South Africa 3: Bafana Bafana back to winning ways|
|Camp Nou to host Copa del Rey final|
|Labadie charged with violent conduct after biting claims|
|Bender keen to rekindle Bayern rivalry|
|Swansea eager to tie down Taylor|
|Varane learning from Real troubles|
|Forster ruled out for rest of season|
|Inter full-back Dodo has successful surgery|
|Verratti focused on future at PSG|
|Minnesota awarded MLS expansion team|
|Ibrahimovic slams ´b******t´ PSG exit rumours|
|Gibson withdraws from Ireland squad|
|Ozil convinced he can win Ballon d’Or|
|Costa: I take a beating from Premier League defenders|
|Canada v Guatemala: Floro seeks to develop winning mentality|
|Vermaelen returns to Barcelona training|
|Euro 2016 Qualifying Preview: Spain face big Ukraine test, Germany visit Georgia|
|Spain v Ukraine: Morata set for first competitive start|
|England v Lithuania: Hart urges Kane not to leave U21s behind|
|Monchengladbach snap up Hannover skipper Stindl|
|Khedira gives strong hint of Real exit|
|Skrtel banned for three matches|
|Brisbane Roar 1 Western Sydney Wanderers 4: Champions´ title defence in tatters|
|Sampdoria swoop for Ajax captain Moisander|
|Barnes: Sterling not ready for big-money move|
|Ferdinand: Ramsey appointment a gamble|
|Ideye hopeful of facing QPR|
|Lampard eyes MLS showdown with Gerrard|
|Ronaldo could face suspension over Clasico celebration|
|Hodgson expects more withdrawals|
|Schalke fans overwhelm Farfan after injury lay-off|
|Swedish third-tier club Dalkurd avoid Germanwings flight|
|Japan v Tunisia: Halilhodzic takes charge of hosts for first time|
|Schweinsteiger brushes aside captaincy pressure|
|Barzagli supports Conte call-ups|
|South Korea v Uzbekistan: Stielike searching for improvement|
|France wary of more balanced Brazil|