LEIPZIG, Germany (AFP) - A late strike from Talisca saw RB Leipzig end their first Champions League campaign with a bitter 2-1 defeat at home to Besiktas on Wednesday (Dec 6) night.
Porto's comprehensive 5-2 victory over Monaco in the other Group G game meant that even a win would not have been enough for Leipzig to progress from the group stage.
With their Champions League exit beyond doubt, Leipzig appeared to have salvaged some pride by coming from behind to level against group winners Besiktas thanks to a Naby Keita strike three minutes from time.
But Talisca's 90th-minute effort snatched victory for the Turkish side.
Spanish striker Alvaro Negredo's ninth-minute penalty had given Besiktas the lead after Willi Orban's was penalised for a reckless challenge on Jeremain Lens.
With Porto running riot at home to Monaco, Leipzig were never really in with a chance of leapfrogging the Portuguese side to take second place.
The Bundesliga side did respond well, and Orban could have made amends when a loose ball fell to him in front of the Besiktas goal on 15 minutes.
However, he dragged his shot onto the post, while Timo Werner and Bruma both forced smart saves from Tolga Zengin later in the first half.
Having greeted Besiktas with a chorus of boos and whistles, the Leipzig fans soon turned on the referee as their team surged forward. Werner was ruled offside after finding the net on 21 minutes, before the referee waved away an optimistic penalty appeal from Jean-Kevin Augustin.
Zengin continued to frustrate Leipzig after the break, making five saves before the hour mark to keep his team's lead intact.
Augustin scored from an offside position on 65 minutes, and Stefan Ilsanker headed over the bar from close range as Leipzig continued to push for the equaliser.
The introduction of Dominik Kaiser lifted the home side again with 15 minutes to go.
Having joined Leipzig when they were still in the fourth tier of German football, Kaiser was given a roaring reception as he made his Champions League debut.
Boosted by his arrival, Leipzig bore down on goal again, with Bruma forcing another flying save from Zengin.
Zengin would finally be beaten when Keita broke through the defence in the 87th minute, lofting the ball over the Besiktas goalkeeper to level the scores.
The consolation was short-lived, however, as the ball fell to Talisca at a Besiktas corner, and the Brazilian swept the ball into the top corner to restore the lead.
Having finished third in Group G, Leipzig's first season in European competition will continue in the Europa League in the new year.