Tunisia booked their place in next year's World Cup finals after securing a point from a goalless draw at home against neighbours Libya on Saturday.
Tunisia finished on 14 points in Group A of the African preliminaries, one ahead of the Democratic Republic of Congo, who fell short despite a 3-1 win over Guinea in Kinshasa at the same time.
Unbeaten Tunisia, who have been to four previous World Cup finals and were the first African country to win a game at the finals in 1978, were denied a fifth win in six group matches as Libya’s goalkeeper Mohamed Nashnush made a number of key saves.
Africa Cup of Nations
AFCON 2019: The tournament of the underdog
20/07/2019 AT 14:05
Diving saves kept Youssef Msakni, Anice Badri and Ghilane Chaalani from scoring as Nashnush proved a one-man roadblock.
Goals from defenders Nabil Dirar and Medhi Benatia handed Morocco a 2-0 away win over the Ivory Coast on Saturday in their last World Cup qualifier and booked a return to the finals for the first time in two decades.
Morocco needed only a draw in their last group game to finish top of the Group C standings in the African preliminaries, ahead of the Ivorians, who had to win to clinch a fourth successive World Cup finals appearance.
But after weathering an early storm, including a potential penalty call, Morocco scored two goals in the space of five minutes to put themselves on their way to the finals, in which they last appeared in 1998, in France.
Morocco completed the campaign without conceding a goal, finishing on 12 points, four ahead of the Ivorians. Gabon had seven and bottom-placed Mali five.
Africa Cup of Nations
Nigeria claim third place as Ighalo pounces on early error
17/07/2019 AT 14:38
Africa Cup of Nations
Senegal beat Tunisia after extra-time to reach AFCON final
14/07/2019 AT 15:12