Senegal reached the Africa Cup of Nations final on Sunday for the second time with a Dylan Bronn own goal giving them a 1-0 win over Tunisia on Sunday in a tense last-four clash in Cairo.
With 11 minutes gone in extra time, goalkeeper Mouez Hassen pushed a free-kick against the head of Bronn and the ball went backwards into the net.
Tunisia thought they would have a chance to equalise when Idrissa Gueye handled in the box, but the Ethiopian referee rejected their penalty appeals after checking the incident on the VAR monitor.
Both teams missed penalties in regular time with Ferjani Sassi the Tunisian culprit before Henri Saivet failed for the Senegalese.
Senegal will miss star defender Kalidou Koulibaly for the final against Algeria or Nigeria, who meet in Cairo later on Sunday, after he was yellow-carded.
It was the second caution of the knockout phase for the Napoli centre-back and triggered an automatic one-match suspension.
Senegal last reached the title decider 17 years ago, when current coach Aliou Cisse captained a team beaten on penalties by Cameroon in Mali.
Cisse made one change to the team that defeated Benin in the quarterfinals with 20-year-old forward Krepin Diatta replacing Keita Balde.
Tunisia coach Alain Giresse changed two of the side that eliminated Madagascar, promoting Mohamed Drager and Ayman Ben Mohamed and benching Wajdi Kechrida and Ghaylen Chaaleli.
The countries were meeting for the sixth time in the Cup of Nations with each winning one match and the other three drawn.
Tunisia had the first clearcut chance at the 30 June Stadium in the Egyptian capital, but unmarked captain Youssef Msakni headed a corner well over.
Senegal then took control and had three opportunities before halftime to end the deadlock and edge closer to the July 19 final.
Youssouf Sabaly unleashed a curling shot from the edge of the box that beat Mouez but cannoned back into play off the woodwork on 26 minutes.
Then, in a 60-second purple patch, Mbaye Niang and Liverpool star Sadio Mane were unable to convert chances before a small crowd.
Niang swivelled inside the box only to fire well wide and Mane rounded Hassen but his shot from an acute angle finished well off target.
Giresse took off Msakni at halftime and introduced Naim Sliti, scorer of the stoppage-time goal that sealed a convincing last-eight win over giantkillers Madagascar.
Senegal goalkeeper Alfred Gomis, a virtual spectator in the opening half, reacted quickly early in the second half to push away a Sassi snap shot.
Attackers Niang and Diatta were having little success and came off with Mbaye Diagne and Ismaila Sarr replacing them as an intriguing semifinal entered the final quarter.
The Sassi penalty was weak, allowing Gomis to save comfortably, while Hassen made a brilliant one-hand block to foil a powerfully struck spot-kick by Saivet.