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.
|Sutton United 0 Arsenal 2: Perez and Walcott break minnows´ stern resolve|
|Walcott brings up 100 goals for Arsenal|
|Simeone will make late Oblak call for Leverkusen clash|
|AFC Champions League Review: In-form El Arabi gives Lekhwiya dream start, Diop saves Al Ahli|
|Fabinho disagrees with Guardiola over favourites tag|
|Guardiola hails Bielsa as best in the world|
|Jardim insists Monaco will not change style for Manchester City clash|
|Clattenburg´s Premier League career not over yet|
|Dortmund could renew Tuchel deal|
|Chicharito return to form boosts Schmidt´s Leverkusen for Atletico test|
|Iniesta sees Verratti as his successor - Matuidi|
|Ramos did not make history at Sevilla like me - Alves questions Real Madrid captain|
|Vertonghen feels Tottenham deserve silverware|
|Agent denies Lucas Perez exit claims|
|Barcelona forward Neymar to stand trial after losing appeal|
|City history can´t compare to United, Liverpool – De Bruyne wants to make Champions League impressio|
|Europa League the priority for United´s Mata as EFL Cup final looms|
|Winning the FA Cup ´may not save Wenger´|
|Falcao perfect for ´killers´ Monaco - Guardiola wary of Champions League threat to Manchester City|
|Ancelotti asked to explain middle finger gesture|
|Ribery closing in on Bayern Munich return|
|Nani eager for improving Valencia to tackle Real Madrid|
|Rashford eyes Chelsea revenge after huge FA Cup draw|
|Glorious Griezmann and Aguero´s knockout drought - Champions League in Opta numbers|
|Otamendi´s agent talks up Real Madrid switch|
|He has to get used to it – Montella reacts to Bacca boos|
|Low hopes to discover Germany´s Luis Suarez|
|Mourinho unsure if Rooney will recover for EFL Cup final|
|Rami rejects talk of Marseille switch|
|Tarnat tips Manchester City´s Sane to become Germany star|
|I don´t see why he should quit - Begovic tips Terry to continue|
|PSG ´weakened´ without Ibrahimovic, claims Monaco´s Bakayoko|
|Low believes in ´locksmith´ Gotze|
|No pain, no gain for Cristiano Ronaldo|
|Barcelona have no idea how to treat players - Dani Alves slams Camp Nou board|
|Low: Germany´s youngsters must be good enough to beat Messi and Ronaldo|
|Mandorlini replaces Juric at Genoa|
|Liverpool could face ´new´ Leicester – Klopp|
|Corchia excited by Bielsa arrival but Lille future remains uncertain|
|Wenger: I threw up after first loss as coach|
|Conte wants fairytale finish for Terry|
|Iniesta: Barcelona haven´t lost faith in Luis Enrique|
|Mourinho knew Ibrahimovic would be ´massive´ for United|
|Ter Stegen doesn´t understand Barcelona fans whistling|
|´He is doing a fantastic job´ – Bartomeu backs Luis Enrique|
|Guardiola slams ´unacceptable´ Wenger treatment|
|Spalletti: Roma goal machine Dzeko now believes he´s world class|
|Emery refuses to blame referee after PSG are held|
|Montella dedicates AC Milan win to Berlusconi|
|The players don´t need whistles – Luis Enrique hits out at fans|
|Brazilian game called off due to TV dispute|
|Chelsea are already Premier League champions, says United boss Mourinho|
|Barcelona 2 Leganes 1: Late Messi penalty spares Ter Stegen´s blushes|
|Paris Saint-Germain 0 Toulouse 0: Champions spill valuable points|
|AC Milan 2 Fiorentina 1: Deulofeu strike keeps European hopes alive|
|Attitude got Man United through - Mourinho|
|Roma 4 Torino 1: Dzeko strikes again|
|Lincoln face Sutton or Arsenal in FA Cup quarter-finals, Chelsea host Man United|
|Neuer slams Jarstein after brawl|
|Blackburn Rovers 1 Manchester United 2: Substitutes Pogba and Ibrahimovic combine for late winner|
|Inter insist Perisic going nowhere, rule out move for Verratti|
|Borussia Monchengladbach 1 RB Leipzig 2: Forsberg and Werner reignite title bid|
|Training-ground meetings paid dividends - Pochettino|
|I´m trying to find a team - Berbatov open to offers|
|Inspired by Zeman´s return, Pescara hammer Genoa 5-0|
|Gabigol wants to make history after Inter breakthrough|
|Chievo 1 Napoli 3: Sarri´s men bounce back from Champions League disappoitment|
|Alfonso Perez calls for Pique to quit international football over political beliefs|
|Benatia refuses to question Allegri´s decisions|
|Fulham 0 Tottenham 3: Kane hat-trick fires Spurs into quarter-finals|
|Oblak return boosts Atletico ahead of Leverkusen trip|
|Gabigol and Inter ready to feast on success after late winner|
|Bologna 0 Inter 1: Gabigol gets belated lift-off in Serie A|
|Still no Mascherano or Arda for Barcelona|
|Bielsa appointed Lille boss from next season|
|Janssen determined to make the grade at Tottenham|
|Stones missing Kompany influence at Manchester City - Ferdinand|
|Central Coast Mariners 0 Melbourne Victory 3: Muscat´s men cruise to win|
|David Villa sent off after video replay|
|Favre not blaming Balotelli for latest red card|
|´It is my future at stake´ – Isco could leave Real Madrid|
|Smalling desperate for Ibrahimovic stay|
|´He will be here for sure´ - Mourinho rules out Shaw exit|
|Wenger not ready for retirement, wants Arsenal stay|
|Pogba will soon look cheap, claims Manchester United boss Mourinho|
|Casilla defends under-fire Navas|
|Isco ´happy and committed´ at Real Madrid – Zidane|