Bayer Leverkusen progressed to the knockout stages of the UEFA Champions League with a hard-fought 1-0 win at Real Sociedad.
The Germans needed to produce a better result at Anoeta than Shakhtar Donetsk could manage away to Manchester United, and they did their bit with a battling away victory.
The Ukrainians' 1-0 defeat in England made sure the job was completed, as Leverkusen progressed as Group A runners-up.
Leverkusen created the first half's better chances as a Gonzalo Castro free-kick hit the post and Simon Rolfes headed over, but Antoine Griezmann was presented with several opportunities of his own to give the Spaniards something to show for their efforts.
After a string of missed chances before the break for both sides, Omer Toprak finally prodded the visitors into the lead four minutes after the restart, while Stefan Kiessling headed against the crossbar.
The hosts attempted to push men forward towards the end as they sought their first home Champions League goal since December 2003, but Leverkusen held firm.
Sociedad coach Jagoba Arrasate made six changes from the team that lost 4-0 to Shakhtar Donetsk in their last European match, with injured duo Claudio Bravo and Inigo Martinez the most notable absentees.
Leverkusen went into the match on the back of a 1-0 win at Borussia Dortmund in the Bundesliga, with coach Sami Hyypia keeping faith with that side.
The hosts were the first to threaten as the in-form Griezmann fired an audacious half-volley just wide from 30 yards in the eighth minute.
Little more than 60 seconds later Leverkusen went close themselves, as Castro’s free-kick came back off Enaut Zubikarai's right-hand post.
Another Castro set-piece wreaked havoc in the 23rd minute. The German's left-wing delivery evaded the Real defence, but Rolfes headed over three yards from goal.
The hosts gradually began to assert control as the half drew to a close, but Griezmann missed the target with a hat-trick of chances before Carlos Vela agonisingly failed to connect with the Frenchman's low cross.
Hyypia showed his intent by replacing midfielder Jens Hegeler with the attack-minded Robbie Kruse at half-time and it did not take the Germans long to take the lead.
Kiessling saw his 49th-minute header tipped over by Zubikarai and from the resulting corner Toprak poked the ball home after the Spaniards had failed to clear their lines.
Leverkusen's second-half gameplan revolved around getting crosses into Kiessling, but he spurned two more chances from Kruse deliveries, hitting the post before being denied by Zubikarai.
Kruse was the source of danger again in the 72nd minute as the Australian's cross was controlled by Son Heung-Min, but the forward smashed his half-volley well over from near the penalty spot.
Leverkusen invited pressure in the final stages, but they retained their lead despite the hosts' late pressure to seal the their progress.
|Benzema seals Real Madrid stay until 2021|
|Perisic promised Inter can match Manchester United|
|The race is on - Aubameyang lays down Lewandowski challenge|
|Cristiano Ronaldo´s Real Madrid return confirmed|
|Mbappe can prove he´s ready for Madrid at PSG - Morientes|
|PSG ´destroyed the market´ with Neymar and Mbappe - Elber|
|Coutinho withdrawal inspired Leicester to victory, claims Shakespeare|
|Valverde hopes Suarez benefits from Eibar rest|
|Wilshere returning to his best form - Wenger|
|Klopp: Liverpool are still a good football team|
|Pochettino hails ´top player´ Alli|
|Messi from ´another planet´, says Semedo|
|James performance pleases Ancelotti|
|Maestro Messi brings up 300 Camp Nou goals|
|Messi is extraordinary – Valverde hails Barcelona star|
|Inter eyeing Champions League return - Eder|
|Klopp ´sick´ of conceding as Liverpool tumble out of EFL Cup|
|Hodgson urges caution over Souare handling|
|Barcelona 6 Eibar 1: Majestic Messi leads romp with four goals for LaLiga leaders|
|Burnley 2 Leeds United 2 (aet, 3-5 pens): Lonergan the penalty hero as Championship leaders cause cu|
|I´m the first to trust young players - Conte defends Chelsea youth record|
|Matic and Fellaini have never been this good – Mourinho tells Carrick, Herrera to be patient|
|Tottenham 1 Barnsley 0: Alli sees off stubborn Tykes|
|Bologna 1 Inter 1: Contentious Icardi spot-kick maintains Spalletti´s unbeaten run|
|Leicester City 2 Liverpool 0: Okazaki, Slimani dump Klopp´s men out of EFL Cup|
|Schalke 0 Bayern Munich 3: James scores on first Bundesliga start|
|Atletico benefiting from competition of fringe players - Simeone|
|Manchester City have got two players for every position - Delph|
|Bayern could say they don´t need me – Lewandowski accepts football´s cut-throat nature|
|Montella to keep on rotating as he plans for long season|
|Billionaire investor announces he is ´done´ funding Hamburg|
|Wenger confirms Welbeck groin injury|
|Ljungberg sad to leave Wolfsburg|
|Ferdinand, McGregor and Curry - Sport´s most notable crossover stars|
|Messi has his story, I have mine - Dybala plays down compatriot comparisons|
|Hazard to start against Nottingham Forest as Conte prepares to rotate|
|New Real Madrid contract ´already done´ for Zidane|
|Chelsea won´t appeal David Luiz red card, Conte confirms|
|Mbappe and Dembele lead Golden Boy nominees|
|Dembele tipped for early January return after successful surgery|
|I hope it´s the last time – Zidane relieved to welcome back Ronaldo|
|Szczesny to face Fiorentina as Allegri calls for Juventus consistency|
|Gundogan fears he might never return to top form after Manchester City injury nightmare|
|Kick It Out contact Manchester United over ´offensive´ Lukaku chant|
|Bayern Munich goalkeeper Neuer ruled out until January|
|Cologne drop protest against Borussia Dormtund VAR goal|
|Ferdinand wants to recapture ´chemical of competition´ from boxing|
|Barcelona not planning January signings despite Dembele injury|
|Neville trolls Ferdinand as Manchester United great starts boxing career|
|Manchester United great Rio Ferdinand to launch boxing career|
|Oxlade-Chamberlain relieved to join Liverpool from Arsenal, says Klopp|
|Case closed! Tianjin Quanjian dismiss Aubameyang links|
|Tevez has not met expectations, says Shanghai Shenhua chairman|
|Socceroos pair Jedinak and Rukavytsya return to squad for World Cup play-off|
|Allegri not the reason for Bonucci´s Juve exit – wife|
|Hazard: I improved after a week with Conte at Chelsea|
|We aren´t far off Real Madrid – Herrera sees no reason for De Gea to head home|
|Manchester City obliged to win title after spending so much - Herrera|
|Barcelona president Bartomeu criticises Neymar over lack of honesty|
|Feyenoord fans banned from Champions League trip to Napoli|
|PSG star Mbappe must prove he has Madrid quality, says Morientes|
|Impossible to stop Icardi, says Spalletti|
|Sevilla president urges fans not to ´insult´ returning Vitolo|
|Goals will come soon for struggling Suarez, insists Barca boss Valverde|
|It´s the hardest thing for a player – Valverde sympathises with crocked Dembele|
|Neuer out of Schalke trip with foot injury amid reports of long lay-off|
|West Ham have new plan to manage Carroll, says Bilic|
|Carvajal: My release clause is to stop me leaving Real Madrid!|
|Lazio star Milinkovic-Savic has suitors ´in Madrid, Manchester and Milan´|
|Ancelotti focused on Bundesliga business before PSG showdown|
|Klopp backs Liverpool forwards despite Burnley failings|
|Rooney reception leaves Mata proud of Manchester United fans|
|Klopp: Cups bring opportunity, not pressure, for Liverpool|
|Martin Schmidt takes charge at Wolfsburg|
|Pochettino targets Tottenham improvement|
|Giving De Boer time would have been ´negligent´, Palace chairman claims|
|Sacchi suggests Ancelotti should leave Bayern Munich|
|Cologne claims are ´ridiculous and grotesque´, says Dortmund´s Zorc|
|Cahill frustrated Chelsea could not break Arsenal down|
|Fulham experience means Hodgson will not panic at Palace|
|Dembele flies to Finland for surgery|
|Misfiring champions Anderlecht sack coach Weiler|
|Conte backs Christensen to replace David Luiz for key Chelsea triple-header|
|Rooney apologises for ´unforgiveable lack of judgement´|
|Wayne Rooney given two-year driving ban, 12-month community order for drink-driving|
|Wolfsburg sack Jonker after Stuttgart defeat|
|Players fear Dybala, says Juventus great Del Piero|
|Llorente insists trophies are within Tottenham´s reach|
|Don´t blame Tevez – Shanghai Shenhua´s Cao Yunding calls for unity|
|Rooney due in court on drink-driving charge|
|Real Madrid whistles ´normal´, says Bale|
|Navas lauds ´excellent´ Bale after goal in Madrid win|
|Wenger happy with Lacazette display|
|Emery tells Cavani and Neymar to sort it out after penalty disagreement|
|WATCH: Stephen Curry scores penalty at Stamford Bridge|
|He demonstrated the player he is – Zidane salutes Bale´s goalscoring performance|
|CAF Champions League Review: Sundowns snare first-leg advantage over Casablanca|
|Koeman takes swipe at Mourinho after ´top four´ claim|
|Dortmund CEO brands Cologne bad losers for demanding to replay a 5-0 defeat|