Olympique de Marseille are through to the UEFA Champions League round of 16 as Group F runners-up thanks to a dramatic comeback win at Borussia Dortmund.
The hosts had an outside chance of qualifying themselves and made a vigorous start, building a 2-0 lead through Jakub Błaszczykowski and a Mats Hummels penalty. The nature of their task meant no amount of goals was going to suffice with Olympiacos FC beating Arsenal FC, though, and Marseille halved the deficit in first-half added time via Loïc Rémy.
André Ayew levelled the scores five minutes from time, but OM were still going out until substitute Mathieu Valbuena stepped up to hit a superb 87th-minute winner and send the French club through.
Obliged to secure a sizeable win, the home side wasted little time in getting forward and called Steve Mandanda into action with just two minutes gone when a deflected Robert Lewandowski cross span dangerously towards goal.
Marseille countered with power and organisation, but Dortmund's menace also increased, with Mario Götze allowed space to unleash a low shot before Błaszczykowski made the 23rd-minute breakthrough, pouncing on Lewandowski's knock down after Sebastian Kehl had headed on a long throw.
Nine minutes later, it was 2-0, Stéphane Mbia's high boot catching Kehl and allowing Hummels to send Mandanda the wrong way from the penalty spot, while also requiring Antonio da Silva to replace the injured midfielder. Unfortunately for both teams, Olympiacos were winning in Greece, leaving Dortmund staring at elimination and Marseille needing to triumph to advance.
The German champions' intensity faded noticeably as the news from Greece filtered through and OM seized their chance, Rémy heading in Morgan Amalfitano's far-post cross to reanimate his side's hopes. They came close to levelling shortly after the restart too, Felipe Santana nearly finding his own net from César Azpilicueta's delivery before Mandanda saved from İlkay Gündoğan at the other end.
Lewandowski then had an attempt deflected wide, and the scrappy nature of that effort presaged a drop in clear-cut chances. Marseille raised themselves for a late push, however, drawing level when Ayew nodded in Amalfitano's corner. They then sealed an incredible win three minutes from time when Valbuena cut in from the left, tricked his way past Gündoğan and arced an unstoppable shot beyond Roman Weidenfeller.
©UEFA.com 1998-2014. All rights reserved.