A back-heel goal by Oumar Diakite in added time at the end of extra time gave hosts Ivory Coast a 2-1 win over Mali in Bouake on Saturday after a dramatic Africa Cup of Nations quarter-final.
Reduced to 10 men by a red card at the end of the first half, the Ivorians fell behind in the second half to a Nene Dorgeles goal only for Simon Adingra to equalise in the 90th minute.
Diakite was, however, shown a second yellow card for taking off his shirt while celebrating which reduced the hosts to nine players.
The win sets up a semi-final with DR Congo.