Ten-man Mali staged a fightback to beat Tunisia on penalties in their Africa Cup of Nations last-16 meeting.
A chaotic first half saw four yellow cards brandished before Woyo Coulibaly was shown a straight red in the 26th minute for a heavy challenge on Hannibal Mejbri and in a game of few opportunities, Tunisia eventually struck in the 88th minute when Elias Saad's looping cross was nodded into the bottom corner by Firas Chaouat.
However, late drama followed when Mali were awarded a penalty after Yassine Meriah handled the ball in the box and Lassine Sinayoko slotted the spot-kick into the bottom corner in the sixth minute of additional time to draw 1-1 in normal time.
Tunisia had a goal ruled out for offside in extra time and the contest boiled down to penalties, where Mali goalkeeper Djigui Diarra made two brilliant saves before El Bilal Toure fired home to secure a 3-2 shootout win and send his side into the quarter-finals.
Meanwhile, Pape Gueye's brace helped Senegal come from behind to beat Sudan 3-1.
Sudan took a shock lead just six minutes in when Aamir Abdallah beat Edouard Mendy with a curling strike into the top corner, but Gueye drew Senegal level in the 29th minute with a composed strike from the edge of the box after being teed up by Sadio Mane.
Ismaila Sarr thought he had won a penalty for Senegal late in the half but he was offside as he went through on goal, and he then had a goal disallowed after straying offside again.
However, Gueye struck in first-half stoppage time, turning in Nicolas Jackson’s cutback, and Paris St Germain’s 17-year-old Ibrahim Mbaye came off the bench to make sure of the win with a fine goal in the 77th minute.