Senegal moved a step closer to a maiden Africa Cup of Nations title with their semi-final victory on Sunday but will be without key defender Kalidou Koulibaly against Algeria in Friday's title decider.
Senegal needed an own-goal in extra time to edge Tunisia 1-0 and advance to the finals of the Africa Cup of Nations.
Minutes later Senegal missed a penalty of their own and the game then went into extra time where a freaky own goal from Dylan Bronn settled a match distinguished by the high number of foibles.
Tunisia was then given another penalty late in extra time only for referee Bamlak Tessema Weyesa to check the VAR TV screen on the sidelines and dramatically reverse his decision - to the dismay of the Tunisians.
Nigeria were the better side in the second period for few moments, and it always looked the Algerians were the side to grab the victor. Sassi took responsibility and stepped forward from 12 yards but took a lame shot that was saved by Gomis.
No one lost the final, says Williamson
New Zealand especially showed how to defend small totals with their disciplined bowling complemented by sharp fielding. And they only went and coped with it in the most freakish circumstances that one could ever hope to conceive.
After Mane had missed two earlier in the tournament, Henri Saivet took over penalty duties, hammering a strong shot to the corner only to be denied by a left-handed save from Hassen. The ball was headed down by a teammate and struck Gueye's hand as he tried to pull it away at the side of his body.
Mouez Hassen was, however, the main Tunisian player at fault as he fumbled a free-kick delivery which came in from Senegal's right.
After a tense delay, he ran back onto the field waving his arms to signal no penalty.
Aliou Cisse's side have played in only one final (2002) and remain the only team with most Afcon appearances without winning the African title.
Senegal is expected to come up against an even more hard opponent in Algeria who also defeated Nigeria in the other semi-finals match to secure a spot in the finals.