Reigning African champions Algeria have qualified for the 2021 AFCON after playing a 2-2 draw away to Zimbabwe on Monday.
Despite giving away a two-goal lead as Algeria confirmed their place at the next edition in Cameroon, which have been delayed until 2022.
They are now the second team after Senegal to qualify for the tournament.
After goals in the 34th and 38th minutes, including a fine solo effort from Riyad Mahrez, it looked like Algeria would make it four wins from four.
In the 34th Reda Halaimia whipped in a long cross from the right and an unmarked Andy Delort had a straightforward header to score his first goal for Algeria.
Moments later came the brilliance from Riyad Mahrez as he flicked the ball past one defender and then cut into the area before twisting and turning to wrong-foot two defenders and firing home.
Zimbabwe pulled a goal back two minutes before half-time as striker Knowledge Musona curled in a free-kick from the edge of the area to beat Rais M’Bolhi.
That seemed to galvanize Zimbabwe and they created the better chances after the break and were rewarded when Tanzania-based Prince Dube scored the equaliser in the 82nd minute seconds after coming on as a replacement.
Algeria now has 10 points in Group H, five ahead of Zimbabwe, with both teams having played four matches.
The other two teams in the pool play later on Monday as Botswana host Zambia.