For the record, the Atlas Lions team now managed by Hervé Renard, was qualified in the past to the World Cup in 1970, 1986, 1994, 1998.
Morocco stunned Ivory Coast 2-0 to qualify for the 2018 World Cup, while Tunisia also booked their ticket to Russian Federation on Saturday.
Morocco sealed its place in Russian Federation in style as they went to Abidjan and beat Cote d'Ivoire 2-0.
The qualification of Morocco and Tunisia signaled an apparent shift in African soccer, giving North Africa three teams at the World Cup and more than any other region for the first time since 1986.More news: Nintendo hopes to produce 25-30 million Switch units for fiscal 2018
Tunisia last played at the World Cup in 2006. But it was the Moroccans who got the breakthrough when Nabil Dirar's cross evaded everyone and found its way it to the net.
It is another achievement for Morocco's French coach Herve Renard, who famously won the Africa Cup of Nations with Ivory Coast in 2015.
Despite needing only a point to qualify, the Atlas Lions weren't prepared to sit on a slender lead and doubled their advantage five minutes later when former Bayern Munich center back Medhi Benatia turned in a left wing corner.
Guinea promptly equalised through Keita Junior and though Jonathan Bolingi, with a penalty, and Neeskens Kebano scored in injury time to give DR Congo a 3-1 win, it was not enough as Tunisia held on.
Serge Aurier had the best chance to score for Ivory Coast in the second half, but he skied his shot over the bar, and Morocco maintained their record of not conceding a single goal in the six games in CAF qualifying Group C.