A rare Zeljko Filipovic goal helped Maribor beat Wigan Athletic 2-1 to progress into the UEFA Europa League knockout stages.
Zulte Waregem's 2-0 defeat against Group D winners Rubin Kazan coupled with Maribor's victory sent the Slovenian champions into the round of 32 in what ended up being a winner-take-all clash on Thursday with the English FA Cup holders.
Filipovic's first goal for the club since July 2012 proved to be the difference after Jordi Gomez had put Wigan in front from the penalty spot after 41 minutes.
But Wigan's first away goal in the competition in their debut European season was cancelled out almost immediately by Dejan Mezga.
Both teams were reduced to 10 men – Chris McCann and Ales Mertelj were given their marching orders – before Filipovic's strike and two late goals in the other Group D fixture in Brugge added to the drama and ensured that Maribor avoided a third consecutive exit at the group stages having started the evening bottom.
Defeat for Wigan in new manager Uwe Rosler's first game in charge represented the sixth successive loss in all competitions for the Championship club.
Filipovic gave Wigan an early scare after seven minutes with the first chance of a cagey opening after he was afforded plenty of time and space 20 yards out before crashing a rising shot that flashed wide and had goalkeeper Scott Carson scrambling for his top left-hand corner.
Nick Powell, who netted a brace in Wigan's 3-1 win in the first meeting between the two sides in October, volleyed over from just outside the penalty area after collecting Jean Beausejour's bobbled pass.
Gomez triggered a frantic final 10 minutes of the first half when he saw his 20-yard free-kick rebound to safety off the post after being felled by Marcos Tavares.
The Spanish midfielder did find a way past goalkeeper Jasmin Handanovic , though, four minutes before the interval from the penalty spot.
Arghus was slow to react to Gomez's pass and Powell nipped in to prod the ball away from goal and draw a clumsy challenge from the Brazilian defender.
Gomez sent the subsequent spot-kick straight down the middle, sparking wild celebrations among Wigan's travelling fans that quickly turned to despair as Maribor levelled less than two minutes later.
Mitja Viler's shot glanced against McCann's arm and referee Szymon Marciniak was quick to point to the spot again and give the former Burnley midfielder his marching orders for a second bookable offence.
Carson did superbly to get down low to his right and palm Mezga's effort against the post, but he was powerless to prevent the penalty taker from tucking away the rebound from inside the six-yard box.
Powell turned Beausejour's cross wide five minutes after the restart as the visitors initially responded well to going down to 10 men before Filipovic put Maribor ahead with a fantastic strike just before the hour.
Mezga's cut-back fell invitingly for Slovenia international Filipovic and he coolly dispatched a side-footed effort from 25 yards that nestled in Carson's top left-hand corner.
Mertelj was then sent off with 16 minutes remaining for a rash tackle on Gomez, earning his second yellow card, and Handanovic kept out a late Marc-Antoine Fortune effort as Maribor progressed in dramatic style.
|8||D. Mezga||43' 43'|
|70||A. Mertelj||65' 74'|
|Coach: A. Šimundža|
for Marcos Tavares 78'
for D. Mezga 81'
for N. Fajić 86'
|Ferdinand: Ferguson only wanted players with animal instinct at United|
|Klopp frustrated by Mignolet decision|
|Pochettino hails ´mature´ Spurs display|
|Celtic 1 Ajax 2: Late winner keeps De Boer´s men alive|
|Pioli eyes improvement after Lazio qualify for last 32|
|Liverpool 2 Bordeaux 1: Milner and Benteke ensure Europa League progression|
|Dortmund dominant in Krasnodar defeat, claims Tuchel|
|Atletico Madrid v Espanyol: Lopez looking for perfection on the road|
|CBF chief Del Nero steps down from FIFA role|
|Qarabag 0 Tottenham 1: Kane header seals Europa League progression|
|Sturridge set for scan on foot injury|
|Barcelona v Real Sociedad: Rakitic puts winning run down to team spirit|
|Paris Saint-Germain v Troyes: Top against bottom in Ligue 1|
|United striker Wilson joins Brighton on loan|
|Mihajlovic abandoned me but Montella is the best, says Ferrero|
|Bayern Munich v Hertha Berlin: Dardai out to stop Guardiola´s juggernaut|
|FC Krasnodar 1 Borussia Dortmund 0: Russians progress thanks to early penalty|
|Rode not planning Bayern exit|
|Koeman hopes ´dangerous´ Long can fill Pelle void|
|Aston Villa v Watford: Garde calls for support to end barren run|
|Crystal Palace v Newcastle United: Pardew dreaming of European football|
|Manchester City v Southampton: Koeman feels Pellegrini´s men can cope with criticism|
|La Liga president Tebas: Clasico was hard to watch|
|Sunderland v Stoke City: Allardyce calls for ´fight and grit´ after Palace success|
|Figures reveal further drop in football banning orders|
|AFC Bournemouth v Everton: Martinez cautions against complacency|
|Hughes urges Shawcross to forget England hopes|
|Leicester City v Manchester United: Top-of-the-table clash intrigues Ranieri|
|Rodriguez out for up to eight weeks|
|Ranieri: It will be hard to break down United´s defence|
|Allardyce hopeful on Defoe fitness|
|Ribery eyes Bayern return|
|Hamann tips Firmino to become a Liverpool star|
|Baines closing in on comeback - Martinez|
|Away fans in France banned from matches until mid-December|
|Azpilicueta: Chelsea on right track again|
|Rummenigge confident Bayern will not lose any key players|
|Deulofeu showing world-class talent, says Martinez|
|Sydney FC 0 Wellington Phoenix 0: Bore draw as hosts miss chance to go top|
|´Not of the professional standard´ - Garde drops Grealish|
|Real Madrid lead the way in World XI nominees|
|Ozil was a bargain at £40m - Wenger|
|FIFA donates returned CBF watches to charity|
|Sanchez could play against Norwich despite hamstring problem|
|Mourinho hopes to see Arsenal suffer Champions League elimination|
|Isco urges Madrid to learn from mistakes|
|Drogba claims Chelsea are lacking leaders|
|Juventus can hold their own against anyone - Buffon|
|Alleged match-fixer released from Singaporean jail|
|Le Tissier backs Ronaldo to play on like Giggs|
|Keane: Rooney looks awful and must do more|
|Rummenigge: Bayern relaxed over Guardiola future|
|Premier League Truce Tournament cancelled over Belgium safety concerns|
|Blanc: Ibrahimovic´s Malmo return was a distraction|
|Astana coach Stoilov delighted with Benfica draw|
|Shakhtar have ´mentality problems´ - bemoans coach Lucescu|
|Lovren vows to become Liverpool leader|
|Mason wants to cement England spot|
|Van Nistelrooy misses rivalry with ´obsessed´ Arsenal|
|Emery disappointed by Champions League campaign|
|Schubert eyeing Europa League spot|
|Cocu revels in PSV´s position after Old Trafford draw|
|Pellegrini questions Mandzukic winner|
|I lived a dream – Ibrahimovic|
|Allegri delighted after Juve seal progression|
|Benitez happy with response to Barcelona thrashing|
|Marchisio satisfied by battling win over City|
|Hareide quiet on Malmo future after heavy PSG defeat|
|Van Gaal aware of Wolfsburg challenge|
|Griezmann focused on winning Group C after Gala win|
|Real Madrid relaxed too much, admits Carvajal|
|Toure laments missed chances as Juve sink City|
|Europa League is Gala´s new goal - Muslera|
|Rooney bullish on Champions League chances|
|Borussia Monchengladbach 4 Sevilla 2: Stindl double sends Liga side out|
|Malmo 0 Paris Saint-Germain 5: Ibrahimovic on target as Blanc´s side cruise through|
|Shakhtar Donetsk 3 Real Madrid 4: Ronaldo wins the group despite late comeback|
|Manchester United 0 PSV 0: Stalemate leaves Van Gaal´s men facing tricky final game|
|Juventus 1 Manchester City 0: Mandzukic seals qualification as Juve leapfrog City|
|Atletico Madrid 2 Galatasaray 0: Griezmann double sends Simeone´s men through|
|Slutsky reflects on "humiliating" defeat|
|´We worked hard for that´ - Schafer revels in Wolfsburg win|
|Dier wary of Qarabag threat|
|Celtic captain Brown out for up to three months with knee injury|
|Supporters´ absence will be tough in Belgium - Sarri|
|Watzke dismisses talk of Hummels rift|
|Teams in Europe need Premier League fixture help - Pochettino|
|CSKA Moscow 0 Wolfsburg 2: Schurrle eliminates Slutsky´s side|
|Serie A not priority for Fiorentina - Sousa|
|Ibrahimovic still cool on Guardiola as he ponders future|
|Tuchel demands Dortmund response|
|Jimenez relieved to end goal drought as Benfica snatch draw|
|Fleetwood´s Ball has Messi and Tevez in his sights|
|Isco handed two-match ban after Clasico dismissal|
|Astana 2 Benfica 2: Jimenez double seals comeback|
|Valdes ´fighting to be free´ from Manchester United|
|Lovren: It´s a great pleasure to play under Klopp|
|Sturridge set for Liverpool comeback|
|Drogba backs Cech to lead Arsenal to title|
|Mourinho explains Hazard substitution against Maccabi|
|Klopp insists Liverpool have no Anfield problem|
|Neuer has taken the game to ´a new level´ - Kahn|
|Klopp is ready to replace Mignolet, claims Grobbelaar|
|Barcelona confirm Sergi Roberto ankle injury|
|Australia, Postecoglou nominated for AFC awards|
|Dortmund rest Reus and Aubameyang for Krasnodar clash|
|Dynamo Kiev receive UEFA fine, stadium closure|
|Boyd against USA match proposal|
|Javi Martinez wants Bayern renewal|
|Barcelona certain Neymar will renew contract|
|Sanchez impossible to defend against - Koscielny|
|Aguero can be Manchester City´s Messi, says Buffon|
|There is something wrong between Lewandowski and Robben, claims Matthaus|
|Bayern on track for Champions League glory - Muller|
|Lovren hails ´unbelievable´ Firmino|
|Cech: Arsenal have everything in own hands|
|Van Nistelrooy believes Depay not ready to make the difference at Manchester United|
|´I like to spend money´ - Wenger|
|´It was beautiful to watch´ - Szczesny after Roma´s 6-1 loss to Barca|
|Simeone: Atletico won´t settle for draw|
|City must believe they can win Champions League - Hart|
|Gerrard confirms Liverpool training return|
|Rooney told to make China move by Eriksson|
|Vanhaezebrouck: Overachieving Gent deserve to advance|
|Barca an ´unbeatable machine´ - Garcia|
|Jokanovic proud of Maccabi progress|
|Luis Enrique wants more after Barcelona hit Roma for six|
|Sevilla in talks to keep hold of Banega|
|Guardiola ´satisfied´ after Bayen brush aside Olympiacos|
|We are thinking about Arsenal now, admits Silva|
|Mourinho plays down Costa row|
|Messi: It feels good to be back for Barcelona|