An own goal in extra time and a controversial Video Assistant Referee decision contrived to deny Tunisia a place in the Africa Cup of Nations final but they also have themselves to blame for missing chances against more fancied Senegal in the semi-final.
An own goal from centre back Dylan Bronn, who did not see the ball as it hit him on the side of the head after goalkeeper Moez Hassen had completely missed a cross after coming out to collect, settled Sunday’s clash and denied Tunisia what would have been a fourth appearance in the final.
Tunisia will now play Nigeria for the bronze medal in Cairo on Wednesday.
Later, Riyad Mahrez rifled in a stoppage-time free-kick to earn Algeria a dramatic 2-1 victory over three-time champions Nigeria and set up a rematch with Senegal in the Africa Cup of Nations final.
Algeria led through a first-half own goal by William Troost-Ekong before Nigeria equalised with an Odion Ighalo penalty awarded after a VAR review.
However, as extra time looked necessary, Mahrez blasted in from 20 yards with the last kick of the match to send the Desert Foxes through to their first final since lifting the trophy for the only time in 1990.
Algeria will take on Sadio Mane’s Senegal for the title on July 19, in a repeat of a group stage clash they won 1-0.
Sofiane Feghouli blazed over late on and extra time beckoned after Ismael Bennacer rattled the bar in stoppage time, but Mahrez won it at the death with a thunderous strike into the top corner.