Cape Verde have qualified for the 2023 Africa Cup of Nations quarter-finals, thanks to a last-gasp 1-0 win over Mauritania on Monday.
They have now won a knockout tie for the first time in their history.
Ryan Mendes converted from the penalty spot to give them a 1-0 victory over Mauritania in the last 16.
The match at the Felix Houphouet Boigny Stadium in Abidjan was drifting towards extra time when Cape Verde won a spot-kick and captain Mendes converted with just two minutes of the 90 remaining to break Mauritania’s resistance.
The Blue Sharks then held on through 10 added minutes to advance to a quarter-final on Saturday in Yamoussoukro against either Morocco or South Africa, who meet in the last 16 on Tuesday.
The tiny Atlantic Ocean island nation had got out of their group in two of their three previous appearances at the AFCON, but had never before won a knockout tie.
Mauritania had been hoping to extend their fine run in Ivory Coast, after they won a Cup of Nations match for the first time in nine attempts in their last group game, beating Algeria to eliminate one of the continent’s powerhouses.
But a side coached by Amir Abdou, who took tiny Comoros to the last 16 in Cameroon two years ago, will go no further after failing to find a way past Cape Verde goalkeeper Vozinha.