Azerbaijan secured their first win in FIFA World Cup qualifying, a hard-fought 2-0 triumph over Northern Ireland.
Michael O'Neill's charges, who had Jonny Evans sent off for the foul that led to Azerbaijan's injury-time second, were guilty of missing a host of chances at the Bakcell Arena in Baku as they slipped to a fifth defeat in Group F.
Rufat Dadashov had the Azerbaijan supporters on their feet in the 58th minute when he rounded off a neat move by side-footing beyond Roy Carroll.
And there was a late second goal when Mahir Shukurov capitalised on Evans' dismissal by curling home a free-kick from 20 yards.
Jamie Ward twice went close for Northern Ireland in the opening period, first forcing Kamran Agayev into a close-range save before scooping over the crossbar.
Martin Paterson was also guilty of wastefulness prior to Dadashov's strike when he dragged wide from eight yards and the Huddersfield Town striker also hit the bar with two minutes remaining.
O'Neill welcomed back Chris Brunt from suspension, meaning Niall McGinn dropped to the bench.
Azerbaijan included Vuqar Nadirov and Qara Qarayev in their starting XI, both having been named among the substitutes for the 1-1 draw with Israel in September.
Northern Ireland controlled possession in the early stages and Brunt nearly made a breakthrough in the ninth minute when he spun in the box and fired an effort at Agayev.
The West Brom winger was involved again soon after as his fierce 25-yard strike was beaten away by the goalkeeper.
Northern Ireland continued to press and Ward's 23rd-minute header from Paterson's centre forced a superb point-blank save from Agayev.
The visitors' profligacy was almost punished when Dadashov flashed an eight-yard strike wide of the post.
And Azerbaijan came even closer on 28 minutes as Rauf Aliyev hit a sweet back-post volley towards the near post, forcing Roy Carroll into a wonderful reflex save.
Northern Ireland finished the half the stronger and had two further chances to take the lead.
First Ward scooped a loose ball over the crossbar, before Paterson dragged wide after his strike partner's throughball put him one-on-one with Agayev.
Azerbaijan came out the stronger side after the break and Dadashov should have done better when he sidefooted Shukurov's cross wide.
Soon after, the forward did break the deadlock. Araz Abdullayev slid an intricate ball into Aliyev's path and his low cross was converted at Carroll's near post.
Northern Ireland looked for an immediate comeback and Gareth McAuley looped a header onto the roof of the net before Oliver Norwood curled a 30-yard free-kick just wide.
The away side became visibly frustrated in their efforts to break down an Azerbaijan side who were happy to defend their lead.
Paterson went closest in the 88th minute, receiving Steven Davis' pass before unleashing a vicious effort against the woodwork.
Evans duly saw red for an off-the-ball challenge on Aliyev and Shukurov's resulting free-kick put the result beyond doubt.
Azerbaijan finish their campaign with a home fixture against Fabio Capello's Russia on Tuesday, while Northern Ireland travel to Israel looking to avoid finishing bottom of the group.
|Coach: B. Vogts|
for V. Nadirov 46'
for A. Abdullayev 82'
for R. Dadaşov 90+3'
|Pedro will decide his own future - Luis Enrique|
|Iniesta handed Barcelona armband|
|Kukesi punished after Europa League abandonment|
|Leno hints at Leverkusen exit|
|Benitez explains Ronaldo absence|
|Pochettino backs Kane to be among world´s best|
|Messi not ruled out of Mexico friendly - Martino|
|China v North Korea: Kim´s side look for another win|
|River Plate v Tigres UANL: Copa Libertadores final evenly poised|
|Torres: I´d give my life to win La Liga with Atletico|
|Real target Ceballos focused on Betis - Mel|
|Platini can lead FIFA change - Fernandez|
|Mel: Betis won´t be signing Osvaldo|
|Ferrero defends Samp boss Zenga|
|Pochettino expects Spurs improvement|
|Bale ideal for United - Robson|
|Ferdinand: Di Maria will regret United failure|
|Benitez pleased with goalkeepers as De Gea transfer saga continues|
|Guardiola tips fit Schweinsteiger to shine|
|Confident Oxlade-Chamberlain hits back at Keane|
|Ferdinand: Stones would be ´a lunatic´ to join Chelsea|
|Qarabag v Celtic: Gordon wants positivity from Scottish champions|
|Higuain rejects extension from Napoli|
|Zamora returns to Brighton|
|West Ham can cope without Valencia - Gold|
|Wickham loses on Palace debut|
|Guardiola: No problem with Matthaus and Effenberg comments|
|Cartabia excited by Deportivo loan|
|Lyon confirm Rafael deal|
|Hysaj agrees deal to follow Sarri to Napoli|
|Rafael says his goodbyes to Manchester United|
|Dos Santos ready to get going with Galaxy|
|Pochettino rejects Soldado exit talk|
|Metatarsal misery for Mulumbu|
|Benitez: Benzema and Bale going nowhere|
|Mihajlovic: Ibrahimovic would make Milan title contenders|
|Hughes not taking any risks with Bojan|
|Guardiola relishing Audi Cup test|
|Di Maria ´taking a step up´ - Silva|
|Leicester bring in defender Benalouane|
|Deulofeu doubtful for Premier League opener|
|West Ham striker Valencia out for three months|
|UEFA: Qarabag-Celtic to go ahead|
|Palace seal Wickham swoop|
|Ronaldo and Benzema to miss Audi Cup|
|Marotta: Juventus could lose Pogba|
|Kante completes Leicester switch|
|Khedira ruled out for two months|
|FA accepts Mourinho criticism of Wembley surface|
|Robben rubbishes injury talk|
|Marchisio expects Milan title challenge|
|Rafael set for Lyon move|
|Celtic ´seeking reassurances´ over Qarabag pitch|
|Wenger beating Mourinho does not affect Chelsea - Zouma|
|Rooney moved by Everton welcome|
|Mancini not worried by lack of Inter goals|
|Coloccini wants to finish career at Newcastle - McClaren|
|Ramsey: Pressure to win trophies is nothing new|
|Terry: Wembley defeat could be a ´blessing in disguise´|
|Blatter not running for IOC re-election|
|Bendtner: Wolfsburg can challenge Bayern for Bundesliga honours|
|Liverpool relishing Britannia return, says Henderson|
|Everton big enough to keep Stones - Martinez|
|MLS Review: Fire stun Dallas as goals dry up|
|New Atletico signings excite Raul Garcia|
|Cahill expects Arsenal title challenge|
|Jovetic happy with Inter debut|
|Luis Enrique: Barca defence must improve|
|Yanev calls for calm after ugly scenes in friendly|
|Coppa Italia Review: Cittadella romp to victory, Brescia rely on penalties|
|Arsenal have learned how to play against big teams - Ramsey|
|Shawcross to visit specialist over back woe|
|Fiorentina 2 Barcelona 1: Bernardeschi double sends Barca to another defeat|
|Mancini hints at Melo interest|
|Rodgers hails ´incredible´ Benteke strike|
|Galatasary 1 Inter 0: Sneijder sinks former club|
|Wenger defends Arsenal approach|
|Wembley loss has no bearing on new season - Terry|
|Porto cruise to friendly win over Stoke|
|Mourinho denies Wenger ´snub´ suggestions|
|Arsenal abandoned their philosophy to win Community Shield - Mourinho|
|Mourinho throws Community Shield medal into Wembley crowd|
|Swindon Town 1 Liverpool 2: Benteke nets stunner on debut|
|Scottish Premiership Review: Hearts win thriller on top-flight return|
|Ujah at the double as Bremen beat West Ham|
|Mourinho: We were the better team|
|Wenger hails defensive solidity|
|Rooney returns as Villarreal spoil Ferguson´s party|
|Rodriguez stunner earns Southampton draw as Caulker makes debut|
|Arsenal 1 Chelsea 0: Case of 14th time lucky for Wenger against Mourinho|
|Taechaubol announces Milan agreement|
|Jojic fires Cologne to latest victory|
|China 0 South Korea 2: Kim and Lee seal victory|
|Origi getting up to speed|
|Costa a doubt for start of season - Mourinho|
|North Korea 2 Japan 1: Halilhodzic´s men spurn lead|
|Allam brands FA ´amateurs´ as name-change row rumbles on|
|Fournier ´worried´ by Lyon pre-season|
|Swansea still working on Michu exit - Monk|
|Neuer furious at Bayern Supercup defeat|
|Wenger: Ozil signing not a mistake|
|UEFA Champions League Preview: Shakhtar ready for Fenerbahce decider|
|Lampard targets MLS play-offs for City|
|MLS Review: Goals galore as DC United win 10-goal thriller|
|Ronaldinho returns and helps Fluminense to win|
|Keane: United won´t overtake Chelsea|
|Casillas has the ´enthusiasm of a 20-year-old´ - Lopetegui|
|Blanc hopeful over Ibrahimovic knee injury|
|Guardiola laments late goal in Supercup defeat|
|Tuchel plans to keep Bender|
|Hecking happy with Wolfsburg discipline after Supercup win|
|Arsenal players too interested in selfies and six-packs - Keane|
|Confusion over Ibrahimovic´s PSG future|