Togo qualified for the Africa Cup of Nations quarter-finals for the first time when drawing 1-1 with Tunisia in an incident-filled Group D encounter.
The Togolese led after 13 minutes as Emmanuel Adebayor played in Floyd Ayite who fired home from an angle.
Tunisia levelled through a penalty from Khaled Mouelhi shortly after, but the same player missed another spot-kick in a match Tunisia had to win to qualify.
Adebayor was denied a penalty at the other end but Togo held on for history.
Meanwhile, Group D winners Ivory Coast rescued a draw against Algeria to maintain their unbeaten record in the Nations Cup.
Algeria, eliminated before the match, missed a first-half penalty through Ryad Boudebouz but Sofiane Feghouli scored from a second spot-kick.
Substitute Feghouli then crossed for Hilal Soudani to power home a header to make it 2-0 before Didier Drogba nodded in superbly to halve the deficit.
A deflected Wilfried Bony shot completed the Ivorians' comeback