Aristide Bance was Burkina Faso's hero as he sealed a 3-2 FIFA World Cup Africa Play-Off first-leg win over Algeria with a late penalty.
The Fortuna Dusseldorf striker made up for a first-half miss from the spot when he converted a controversial 86th minute spot-kick after Essaid Belkalem was controversially adjudged to have handled inside the area.
Jonathan Pitroipa opened the scoring for Burkina Faso on the verge of half-time but their lead was quickly cancelled out by Sofiane Feghouli.
Djakaridja Kone put the hosts back in front just after the hour, but Algeria again responded quickly through Carl Medjani's towering header.
Bance scored with just four minutes to play though, as his late penalty delighted the home crowd in Ougadougou.
Burkina Faso now have the advantage heading into the second leg, to be played in Blida on November 19.
Both sides struggled to create chances of note in the opening 30 minutes of the match, however as the game drifted towards the break it burst into life.
First, Burkina Faso survived a penalty shout after Feghouli went down under a challenge from Jean-Noel Lingani, however the Valencia midfielder saw his penalty claims waved away by the referee.
A minute later the referee was pointing to the spot, but at the other end, after Pitroipa was brought down by a rash challenge from Belkalem.
Bance stepped up to take the penalty but hit a tame effort that Algeria goalkeeper Adi Mbolhi saved relatively comfortably.
Luckily for Bance, his miss was quickly forgotten as Pitroipa struck in stoppage time at the end of the half.
Lingani delivered a cross into the penalty area from deep and Pitroipa – who had got away from Madjid Bougherra – headed past Mbolhi to give the hosts the lead.
The visitors were level early in the second half as Feghouli netted his third goal of qualifying with a low shot after neat link-up with Islam Slimani inside the penalty area.
Despite Algeria's second-half dominance they found themselves behind again in the 65th minute as Kone produced a moment of magic.
The midfielder controlled a loose ball on his chest, took the ball past Mehdi Mostefa-Sbaa and lashed the ball into the bottom corner for his second international goal.
Burkina Faso's lead only lasted three minutes though as Medjani rose to meet a left-wing corner to head past goalkeeper Daouda Diakite.
The hosts would not be denied though, claiming the winner with four minutes left after Belkalem was penalised for handling the ball.
It was not referee Janny Sikazwe who gave the penalty though, instead his assistant, and although Mbolhi got a hand to Bance's effort, it was second time lucky for the Burkina Faso man.
|Coach: P. Put|
for B. Koné 8'
for J. Lingani 68'
for M. Koffi 78'
|Trezeguet confirms retirement|
|No ´major problems´ with Nicolas Frey´s head wound|
|Strootman injury not "serious" - Garcia|
|No Paraguay, USA for retiring Riquelme|
|Saint-Etienne did not try to play football - Blanc|
|Primeira Liga Review: Sporting move within one point of Porto|
|La Liga Review: Parejo downs Sevilla, Resino starts with a point|
|Serie A Review: Juve go seven points clear as Roma draw again|
|Ligue 1 Review: Paris Saint-Germain and Lyon make Marseille pay for slip-up|
|Burkina Faso coach puts AFCON exit down to bad luck|
|Saint-Etienne 0 Paris Saint-Germain 1: Ibrahimovic scores in repeat performance|
|Shenaishil optimistic despite Kasim absence|
|Walcott: Goal has been a long time coming|
|DR Congo v Tunisia: Leekens warns against complacency|
|Congo 2 Burkina Faso 1: Thievy helps send 2013 runners-up crashing out|
|Gabon 0 Equatorial Guinea 2: Balboa and Iban put hosts through|
|McCarthy and Distin on road to recovery|
|Gil has hit the ground running - Lambert|
|Eredivisie Review: Ajax and Feyenoord lose ground after dour draw, Eagles secure big win|
|Wenger confirms Gabriel move is imminent|
|Eto´o presented to Sampdoria fans|
|Cape Verde v Zambia: Victory a must for 2012 winners to avoid elimination|
|Brighton and Hove Albion 2 Arsenal 3: Walcott and Ozil among the goals for holders|
|Mancini upbeat despite ´cruel´ late defeat|
|Pogba revelling in rich vein of form|
|Aston Villa 2 Bournemouth 1: Gil helps under-fire Lambert breathe easy|
|Defour dismissed after Standard Liege banner taunt|
|Allardyce relieved with scrappy West Ham win|
|Sturridge ´happy man´ after return to Liverpool training|
|Inter 0 Torino 1: Moretti ends unbeaten run for top-four hopefuls|
|Juventus 2 Chievo 0: Pogba inspires victory as leaders march on|
|Bristol City 0 West Ham 1: Super sub Sakho sinks City|
|Hughes in talks over new Stoke deal|
|Delph signs new contract|
|Chelsea v Liverpool: Mourinho demands League Cup response|
|Football League Preview: Derby eye top two, Cambridge back to reality|
|Nani not giving up on Old Trafford career|
|Perth Glory 3 Melbourne Victory 3: Leaders stage two-goal late comeback|
|Neymar: Barca have no interest in Real results|
|Milan defender Mexes apologises for red card|
|South Korea v Iraq: Strange lead-up for Shenaishil´s men|
|Lazio´s Djordjevic thanks well-wishers ahead of ankle surgery|
|Iran´s Asian Cup appeal dismissed by AFC|
|Cech urges Chelsea to clean up FA Cup exit ´mess´|
|Henderson: Liverpool are up for the cup|
|Edimar wants ´normal´ ban for Real star Ronaldo|
|Pellegrini defends misfiring City strikers|
|Australia ready for UAE - Sainsbury|
|Blanc takes positives from past|
|Inzaghi promises ´something different´ at Milan|
|Mexes sorry for seeing red|
|La Liga Review: Wins for top three|
|Vitoria Guimaraes 2 Gil Vicente 2: Last-gasp penalty salvages point for hosts|
|Simeone marvels at Griezmann impact|
|Djordjevic to have x-ray on ankle problem|
|Eredivisie Review: PSV go seven points clear, Heerenveen cruise|
|Luis Enrique backs himself on Suarez omission|
|Lazio 3 Milan 1: Parolo and Klose seal victory|
|Cameroon 1 Guinea 1: Draw ensures Group D stays finely poised|
|Rodgers reveals Sturridge fitness boost after Bolton stalemate|
|Atletico Madrid 3 Rayo Vallecano 1: Griezmann inspires routine win|
|Gabriel move agreed, Campbell to join Villarreal on loan|
|Gabon v Equatorial Guinea: Neighbours face off for quarter-final berth|
|FA Cup Review: Chelsea stunned by Bradford as Middlesbrough beat Manchester City|
|Ronaldo apologises for red card|
|Pulis eyes room for improvement|
|Liverpool 0 Bolton Wanderers 0: Championship side frustrate Anfield to earn replay|
|Karanka hails players after stunning City|
|Elche 0 Barcelona 6: Neymar and Messi inspire resounding win|
|League Two Review: Wycombe and Burton held, Shrewsbury up to second|
|Pardew lauds Palace performance|
|Pochettino laments late collapse|
|Scottish Premiership Review: Celtic stretch lead, Inverness and Dundee United keep up chase|
|Parkinson revels in huge upset after humbling Chelsea|
|Bayern targeting unbeaten Bundesliga season - Robben|
|Pearson: FA Cup win can breed confidence|
|League One Review: Dons close gap, Peterborough end run|
|Ivory Coast 1 Mali 1: Gradel rescues Renard´s men|
|Fulham seal Richards loan|
|Pellegrini: UAE trip had no impact|
|Koeman blames defeats on defensive lapses|
|Gundogan injury mars Dortmund preparations|
|Championship Review: Ighalo stars as Blackpool capitulate|
|Chelsea defeat a ´disgrace´ - Mourinho|
|Monk rues missed opportunity|
|Manchester City 0 Middlesbrough 2: Boro stun City with FA Cup shock|
|Chelsea 2 Bradford City 4: League One outfit dump out Premier League leaders|
|Tottenham 1 Leicester City 2: Late turnaround stuns Spurs|
|Cordoba 1 Real Madrid 2: Bale steals late win as Ronaldo sees red|
|Birmingham City 1 West Brom 2: Anichebe seals derby triumph|
|Southampton 2 Crystal Palace 3: Pardew´s men reach fifth round|
|Sunderland 0 Fulham 0: Defoe fails to fire on home debut|
|Bowyer hails ´terrific´ Blackburn|
|Rochdale v Stoke City: Shawcross in race to be fit for cup clash|
|Blackburn Rovers 3 Swansea City 1: Late goals snatch victory for Championship side|
|Congo v Burkina Faso: Le Roy vows to attack|
|Roma still in race for Scudetto - Garcia|
|Mancini coy on Toure links|
|Mertens rules out Napoli exit|
|Barzagli back in Juve squad|
|A-League Review: Adelaide and Sydney rack up the goals|
|Real have signed a ´diamond´ in Silva, says Oliveira|
|Queiroz: How can Williams sleep at night?|
|Asian Cup history ´the focus´ for Australia - Kruse|
|Pogba could be the world´s ´most expensive´ player|
|Australia international joins Dundee United|
|Real Madrid is a ´dream come true´ - Silva|
|Van Gaal angered by first-half showing in cup stalemate|