Angola were unable to get the point they needed to advance in the Africa Cup of Nations, but Mali reached the last 16 as Group E winners.
Amadou Haidara's stunning goal sent Mali into the Africa Cup of Nations last 16 as Group E winners with a 1-0 win over Angola, who were consequently eliminated.
RB Leipzig midfielder Haidara fired a fine 20-yard strike past Tony Cabaca in the first half and it proved to be sufficient to set up a meeting with Ivory Coast in the knockout stages.
Angola were unable to find an equaliser that would have sent them through as one of the best third-placed teams, with South Africa progressing instead.