Mauritania reached the African Nations Cup for only the second time and were joined by Ethiopia and Guinea Bissau on Tuesday.
A 1-0 win away to Central Africa, thanks to a goal from Aboubakar Kamara just before the break, helped Mauritania finish second in Group E with nine points, three behind leaders Morocco, who will face Burundi later on Tuesday.
Mauritania made their Nations Cup debut in 2019 in Egypt.
Ethiopia reached the Nations Cup despite their 3-1 loss to Ivory Coast on Tuesday, thanks to Niger who held Madagascar to a goalless draw in the other match of the group.
Madagascar, who have seven points, needed to defeat Niger at home to qualify at the expense of Ethiopia but their stumble gave Ethiopia the chance to advance.
Ethiopia are second in Group K with nine points, four behind leaders Cote d'Ivoire, while Madagascar lie third with eight points.
Guinea Bissau became the latest side to qualify for the Nations Cup after crushing Congo 3-0.
Congo needed only a draw to advance but were undone by goals from Piquet, Frederic Mendy and Jorginho Intima as Guinea Bissau climbed above their opponents into second in Group I. They will make a third successive Nations Cup appearance.
(For more sports news and updates, follow Ahram Online Sports on Twitter at @AO_Sports and on Facebook at AhramOnlineSports.)