Mohamed Bayo headed a 98th-minute winner as Guinea reached the quarter-finals of the Africa Cup of Nations with victory over 10-man Equatorial Guinea, who had earlier missed a penalty.
Equatorial Guinea midfielder Federico Bikoro was dismissed 10 minutes after the break for catching Bayo in the ribs with his studs.
The National Thunder were awarded a spot-kick midway through the second half after Sekou Sylla caught Iban Salvador, but captain Emilio Nsue hit the base of the right-hand upright.
And, with the game set to head to extra time, striker Bayo stooped to guide Ibrahim Diakite‘s cross from the right flank just inside the near post in the final minute of added time.
The West Africans have made the last eight for the first time since 2015 and will take on DR Congo in Abidjan on Friday after the Leopards beat record seven-time champions Egypt 8-7 on penalties following a 1-1 draw.