Angola qualified for the African Nations Cup at the expense of Burkina Faso after beating Botswana 1-0 on Friday.
Wilson Eduardo netted on his debut midway through the first half after switching allegiance from Portugal to Angola to give his side a precious win that lifted them to the Egypt finals.
Burkina Faso needed to defeat already-qualified Mauritania and hope Botswana hold Angola to a draw.
They managed to fulfill the first of their targets, beating Mauritania 1-0 thanks to a goal from Bertrand Traore after 19 minutes. However, Botswana could not score an equaliser against Angola.
Angola finished on top of the group with 12 points, on level with second-placed Mauritania. Burkina Faso, who have failed to qualify for the Nations Cup for the first time since 2008, finished third on 10 points.
(For more sports news and updates, follow Ahram Online Sports on Twitter at @AO_Sports and on Facebook at AhramOnlineSports.)