Ismahila Ouedraogo scored the winning spot-kick as Burkina Faso beat 10-man Gabon 7-6 on penalties after a 1-1 draw to advance to the quarter-finals at the Africa Cup of Nations.
A tight game was sent to extra time after a dramatic late equaliser from the Panthers, and an even more tense shoot-out was ultimately decided by the 22-year-old Ouedraogo.
There had been a penalty in normal time after Issa Kabore was brought down by Sidney Obissa in the 14th minute, only for Bertrand Traore to slam his effort against the crossbar.
The Aston Villa man was not to be denied 10 minutes later when he ran on to a through ball from Hassane Bande and slotted in off the post past the onrushing Jean Noel Amonome.
Gabon thought they were level four minutes before half-time as a long ball from skipper Bruno Ecuele Manga found Aaron-Salem Boupendza, who cut inside and finished well but was ruled to be offside.
Obissa received his marching orders in the 67th minute after picking up a second yellow card, but Gabon still forced extra time as a 91st minute corner was headed in by Ecuele Manga, though went down as an Adama Guira own goal after diverting in off the Burkinabe midfielder.
An extra 30 minutes could not separate the sides and so the game went to penalties, with both teams scoring six of their first eight attempts.
After Lloyd Palun hit Gabon's ninth penalty against the bar, Ismahila Ouedraogo finally ended things by sending Amonome the wrong way, booking the Stallions' quarter-final place against either Nigeria or Tunisia next Saturday.