The Algerian national team hosted its opponent, Botswana, at the Mustapha Chaker Stadium on Monday as part of the Group F competitions.
Mehdi Zafan opened the match goals in the 24th minute, and Sofiane Feghouli added the second goal in the 58th minute.
Riyad Mahrez scored the third goal of the Sahara Warriors in the 64th minute, with a penalty kick.
Baghdad Boungah added the fourth goal of the Algerian national team in the 72nd minute.
And Farid completed the five-year mandate of Algeria with a goal in the 88th minute.
In another match, which was held at the same time, the Zambian national team defeated its host Zimbabwe, 1-0.
The goal was scored by Batson Dhaka in the 21st minute of the match.
With that result, Algeria reached the 14th point at the top of Group H, while Zimbabwe ranked second with eight points.
Both teams had already qualified before the last round.
Zambia ranked third with seven points, followed by Botswana fourth with four points.
In the Group D competitions, the Democratic Republic of the Congo defeated its guest Gambia 1-0.
Al-Masry and the Congo striker Kazadi Kasengu scored the only goal of the match from the penalty spot in the 45th minute.
Angola defeated its hosts Gabon with two unanswered goals.
Manuel Kavomana scored the first goal in the 63rd minute, and Lloyd Augusto added the second goal for the hosts after six minutes.
With those results, the Gambia team led the group with ten points, with a difference in goals scored from Gabon, and qualified together for the nations of Africa.
The Democratic Republic of the Congo ranked third with nine points, followed by Angola with four points.
the second group
Burkina Faso defeated South Sudan 1-0.
Bertrand Traore scored the match’s only goal in the 50th minute.
The match saw a response from the Burkina player, who participated in Kabore in the 80th minute, after receiving two warnings.
Burkina led the group with 12 points, followed by Malawi with ten points, Uganda with eight points, and finally South Sudan with three points.