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.
|Suarez glad to be back despite Clasico defeat|
|Primeira Liga Review: Porto thrash Arouca, Pacos continue unbeaten run|
|Eredivisie Review: Ajax avoid slip-up, Vitesse denied by late equaliser|
|Real heart pleases Ancelotti|
|Ligue 1 Review: Sagnol hurting after PSG loss as Nantes extend unbeaten run|
|Luis Enrique acknowledges Real´s Clasico supremacy|
|Ramos delight as Real romp past Barca|
|Red card motivated PSG - Blanc|
|Leicester below par - Pearson|
|Bundesliga Review: Dortmund woes continue, Stuttgart edge thriller|
|Pique puzzled by penalty call|
|Indian Super League Preview: Lopez ban presents test for Atletico|
|Monk pleased to end winless run|
|Klopp vows to fight through rotten run|
|League Two Review: Murray beaten in Hartlepool bow, Luton go top|
|Swansea City 2 Leicester City 0: Bony brace seals important win|
|Warnock fumes at Dawson ´assault´|
|Hughes unhappy with first-half display|
|League One Review: Garner inspires Preston, Peterborough slip up|
|Real Madrid 3 Barcelona 1: Suarez denied in pulsating Clasico|
|Irvine thrilled with Anichebe impact|
|Bruce happy for Jakupovic|
|Milanic departs Leeds|
|Koeman pleased with ´difficult´ win|
|Rodgers content with Balotelli performance|
|Championship Review: Magic eight for Bournemouth, Wolves on the climb|
|Poyet left to rue more mistakes|
|PSG 3 Bordeaux 0: Lucas double helps champions close on Marseille|
|Wenger salutes ´focused´ Arsenal|
|Scottish Premiership Review: Hamilton beaten at Dundee, Inverness close gap|
|Indian Super League Review: Chennaiyin drubbed by Dynamos|
|Sunderland 0 Arsenal 2: Sanchez double the difference|
|West Brom 2 Crystal Palace 2: Berahino´s last-gasp penalty saves hosts|
|Liverpool 0 Hull City 0: Rodgers´ men frustrated in goalless draw|
|Southampton 1 Stoke City 0: Mane puts Saints second|
|Allardyce hopeful on Sakho injury|
|Borussia Dortmund 0 Hannover 1: Kiyotake increases pressure on Klopp|
|We did not deserve to lose - Pellegrini|
|Bremen dismiss Dutt after poor start|
|West Ham 2 Manchester City 1: Amalfitano and Sakho give hosts deserved win|
|QPR v Aston Villa: Redknapp wants Loftus Road to roar|
|Inzaghi warns against Milan complacency|
|Benitez shrugs off criticism|
|Pires, Lopez punished after spat|
|Mazzarri shrugs off sack rumours|
|Dyche not underestimating Everton|
|Melbourne Victory 5 Melbourne City 2: Berisha treble inspires derby win|
|Allegri hits back at Juve critics|
|Western Sydney Wanderers 1 Al Hilal 0: Juric earns slender lead|
|Redknapp denies Taarabt´s training accusations|
|United are in a fantastic position - Mourinho|
|Allardyce hails ´loyal´ West Ham owners|
|Scrap AFCON to stop Ebola - Song|
|Dutt: Werder deserved to lose|
|Wenger laments lack of confidence|
|Pardew urges Newcastle to ´challenge´ Champions League hopefuls|
|Chicago Fire 2 Houston Dynamo 1: Hosts give Pause fitting farewell|
|Falcao better at United - Filipe Luis|
|Blanc: I told you so|
|Crystal Palace to be sold - reports|
|Van Gaal backs ´unlucky´ Van Persie|
|Vitoria Setubal 0 Vitoria Guimaraes 1: Afonso´s goal enough|
|Delph sidelined for 2014|
|Carrick: I want to give Van Gaal selection headache|
|Aberdeen 1 Motherwell 0: Hayes strike enough to sink lowly visitors|
|Fulham 3 Charlton Athletic 0: Parker and Rodallega move Fulham out of drop zone|
|Celta Vigo 3 Levante 0: Alcaraz defeated in first game in charge|
|Toulouse 0 Lens 2: Visitors escape drop zone|
|Werder Bremen 0 Cologne 1: Ujah adds to bottom club´s woes|
|ADO Den Haag 2 Dordrecht 0: Kramer on target again|
|Possession key for Luis Enrique|
|FA charge Gillingham with ´race victimisation´|
|Poyet issues Sunderland rallying cry|
|Ancelotti ready to spring Clasico surprise|
|Suarez receiving help for biting ´impulse´|
|Tottenham v Newcastle United: Confident visitors look for White Hart Lane repeat|
|Manchester United v Chelsea: Van Gaal expecting Costa to play|
|Guardiola: Upcoming run crucial|
|UEFA investigate Daugavpils over match-fixing after arrests|
|Pires ´hit in face´ by opposition coach - Zico|
|Di Maria declared fit for Chelsea test|
|Burnley v Everton: Dyche relying on mental toughness|
|Milan v Fiorentina: Poli awaits crucial test|
|Serbia to appeal UEFA decision|
|Cesena v Inter: Milan club out to end tumultuous week|
|Bayern mauling changes nothing, says Garcia|
|Getafe v Atletico Madrid: Griezmann hopes to kick on|
|Cisse a doubt for Tottenham clash|
|Ferdinand plans to retire at end of season|
|Martinez pleased with stronger defensive displays|
|League One Preview: Crewe out to exit bottom four|
|Aguero not yet at his best, warns Pellegrini|
|AS Vita v ES Setif: Ibenge´s men seek to end 41-year wait|
|Juventus v Palermo: Buffon expecting response|
|League Two Preview: Life under Murray begins for Hartlepool|
|Villa have Cleverley option - Lambert|
|Costa has a ´little chance´ for United clash, says Mourinho|
|Brisbane Roar 0 Sydney 2: Janko scores wonder goal|
|Borussia Monchengladbach v Bayern Munich: Benatia calls for focus|
|Busquets available for El Clasico|
|Jones calls on United to attack|
|Coutinho vows to improve|
|Suarez not a factor - Ancelotti|
|Bruce wary of Balotelli backlash|
|Pogba extends Juve deal|
|Serbia awarded Albania walkover but deducted three points|
|Walcott to make comeback against Burnley|
|Robben lauds ´perfect´ life at Bayern|
|Vieira: Chelsea can better Arsenal´s ´Invincibles´ mark|
|No fracture for Bender - Klopp|
|Pepe a doubt for El Clasico|
|Allardyce: Carroll two or three weeks from return|
|Defoe unsure of future|
|CONCACAF Champions League Review: Saprissa overhaul Kansas City|
|Liga del Futbol Profesional Boliviano Review: Comeback win sends Oriente Petrolero second|
|Deportivo Capiata 0 Boca Juniors 1 (agg 1-1, 4-3 on penalties): Argentines reach quarters|
|Herediano 5 Perez Zeledon 1: Hosts cruise to victory|
|Liga MX Preview: Queretaro desperate to keep play-off hopes alive|
|First-half profligacy could have cost us - Favre|
|Lille will beat Everton next time - Enyeama|
|Montella pleased with Fiorentina response|
|Benitez blames lack of ´desire´|
|Dunga plays down captaincy controversy|