Match ends, Angola 0, Mali 1.
Africa Cup of Nations 2019: Mali beat Angola to win Group E
Mali advanced to the last 16 of the Africa Cup of Nations as Group E winners after beating Angola 1-0 in Ismailia.
Amadou Haidara scored the game's only goal, finding the net with a fierce drive from outside the area.
Mohamed Magassouba's side will face Group D runners-up Ivory Coast in the last 16 on Monday.
Angola, who finish third in Group E, miss out on a place in the knockout stages.
Mali made eight changes to the side that drew 1-1 with Tunisia on Friday and they rode their luck early on, Gelson shooting straight at goalkeeper Djigui Diarra before Mateus dragged another effort wide of the near post.
A draw would have been enough for Angola to advance, but they fell behind when Haidara fired an unstoppable shot past Tony Cabaca eight minutes before half-time.
Second-half substitute Moussa Marega missed the chance to double Mali's lead late on, blazing over the crossbar from an acute angle.
Tunisia join Mali in the last 16 after drawing 0-0 with Mauritania in Suez.
By BBC World Service Sport's Ben Sutherland
Angola's Afcon campaign spluttered and died whereas Mali surprisingly top Group E with 3 wins from 3.
This was a game that had absolutely nothing to recommend it apart from the beautiful, crisply taken Haidara goal.
Having watched Benin grind out the 0-0 draw they needed before the game in the same stadium, Angola were set up with exactly the same plan - to get the draw.
But when Haidara netted eight minutes before the break their plan was in pieces - and they had nowhere else to go.
The result will be celebrated most in South Africa - Angola's defeat means that Bafana Bafana go through as one of the four best third-place finishers.
Mali's caretaker coach Magassouba is making a strong case to stay on permanently.
- 12Bango Cabaça
- 2Boialvo GasparBooked at 29mins
- 15Jacinto QuissangaBooked at 90mins
- 9Kulembe RibeiroSubstituted forDa Silva Cafumanaat 52'minutes
- 18Caifalo do CarmoBooked at 80mins
- 11Costa Paulo BartolomeuSubstituted forPaciênciaat 81'minutes
- 7Abel Campos
- 17Galiano da CostaSubstituted forNaval Costa Eduardoat 52'minutes
- 10Muondo Dala
- 1Segunda Palanga Simão
- 4Da Silva Cafumana
- 6Gaspar do Carmo
- 13Macaia Ganga
- 16Rosa da Cruz
- 19de Carvalho Brandão
- 20Naval Costa Eduardo
- 21Correia da Costa
- 23Melo Afonso
- 16DiarraBooked at 69mins
- 4HaidaraSubstituted forDoucoureat 73'minutes
- 14TraoréSubstituted forMaregaat 81'minutes
- 7DoumbiaSubstituted forKoitaat 58'minutes
- Rédouane Jiyed
- Shots on Target
Second Half ends, Angola 0, Mali 1.
Bastos (Angola) is shown the yellow card.
Attempt missed. Kalifa Coulibaly (Mali) right footed shot from the centre of the box misses to the right.
Hand ball by Massadio Haidara (Mali).
Attempt missed. Moussa Marega (Mali) right footed shot from the centre of the box is high and wide to the right. Assisted by Adama Traoré II with a cross following a corner.
Corner, Mali. Conceded by Dany Massunguna.
Attempt blocked. Adama Traoré II (Mali) left footed shot from outside the box is blocked. Assisted by Kalifa Coulibaly.
Offside, Mali. Falaye Sacko tries a through ball, but Kalifa Coulibaly is caught offside.
Corner, Angola. Conceded by Falaye Sacko.
Foul by Molla Wagué (Mali).
Mabululu (Angola) wins a free kick on the right wing.
Attempt saved. Mabululu (Angola) left footed shot from the left side of the box is saved in the centre of the goal. Assisted by Show.
Offside, Angola. Show tries a through ball, but Wilson Eduardo is caught offside.
Attempt missed. Moussa Marega (Mali) header from the centre of the box is too high. Assisted by Adama Traoré II with a cross following a corner.
Corner, Mali. Conceded by Bastos.
Foul by Moussa Marega (Mali).
Bruno Gaspar (Angola) wins a free kick in the defensive half.
Substitution, Mali. Moussa Marega replaces Adama Traore I.
Delay over. They are ready to continue.
Substitution, Angola. Mabululu replaces Geraldo.
Delay in match (Angola).
Herenilson (Angola) is shown the yellow card for a bad foul.
Adama Traore I (Mali) wins a free kick on the left wing.
Foul by Show (Angola).
Foul by Massadio Haidara (Mali).
Geraldo (Angola) wins a free kick on the right wing.
Attempt saved. Adama Traoré II (Mali) left footed shot from outside the box is saved in the bottom left corner. Assisted by Cheick Oumar Doucoure.
Attempt missed. Wilson Eduardo (Angola) right footed shot from outside the box misses to the right.
Attempt missed. Cheick Oumar Doucoure (Mali) right footed shot from outside the box is too high. Assisted by Adama Traore I.
Attempt blocked. Sekou Koita (Mali) left footed shot from outside the box is blocked.
Corner, Mali. Conceded by Paízo.
Substitution, Mali. Cheick Oumar Doucoure replaces Amadou Haidara.
Corner, Angola. Conceded by Kiki Kouyate.
Foul by Lassana Coulibaly (Mali).
Geraldo (Angola) wins a free kick in the attacking half.
Djigui Diarra (Mali) is shown the yellow card.
Offside, Angola. Wilson Eduardo tries a through ball, but Gelson Dala is caught offside.
Attempt missed. Show (Angola) right footed shot from outside the box is too high. Assisted by Paízo.
Corner, Angola. Conceded by Kiki Kouyate.