Tanzania upset Guinea to reach the 2025 Africa Cup of Nations before Botswana and Mozambique became the last two teams to qualify for next year's tournament.
Guinea had needed to avoid defeat in their trip to Dar Es Salaam to finish second in Group H, while the East Africans knew victory would book a place in Morocco.
Mady Camara rattled the Tanzania bar before the break and the Taifa Stars eventually ran out 1-0 winners after Simon Msuva headed in from just inside the six-yard box in the 61st minute.
Tanzania, who will co-host the 2027 Afcon alongside Kenya and Uganda, are ranked 34 places below Guinea in the world.
Meanwhile, Botswana will feature at the finals for just the second time after picking up the point they needed away against Egypt to finish second in Group C.
Omaatla Kebatho gave the Zebras an early lead in Cairo after sloppy defending from the hosts, but Trezeguet quickly equalised for the Pharaohs.
Botswana held on to draw 1-1 and finish a point above Mauritania, who rounded off their campaign with a 1-0 home victory over 10-man Cape Verde.
The southern Africans, who were the lowest seeds in their group, lost all three group games on their sole previous Afcon finals outing in 2012.
Similar to Guinea, Mozambique knew a point from their trip to Guinea-Bissau would be enough to progress from Group I, while the West Africans needed all three points.
The visitors went ahead in the ninth minute through Bruno Langa, but Everton striker Beto levelled three minutes before half-time.
Stanley Ratifo restored the advantage for the Mambas in the 52nd minute, and Mozambique closed out the game to secure back-to-back qualifications.
Africa's biggest sporting event will begin on 21 December next year and run until 18 January 2026.
The Confederation of African Football is yet to announce the date of the group draw for the finals.
Afcon 2025 qualified teams
Morocco (hosts), Algeria, Angola, Benin, Botswana, Burkina Faso, Cameroon, Comoros, DR Congo, Egypt, Equatorial Guinea, Gabon, Ivory Coast, Nigeria, Mali, Mozambique, Senegal, South Africa, Sudan, Tanzania, Tunisia, Uganda, Zambia, Zimbabwe
Latest Stories
-
Move to Canada immediately – Ghanaian-Canadian Part 2
30 mins -
Our dear nation is at a crossroads and requires an urgent reset – NDC insists
41 mins -
‘The Flower Pot Interchange is a legacy for future generations’ – Akufo-Addo asserts
56 mins -
NPP’s governance linked to Black Stars’ decline, says Mahama
59 mins -
Election 2024: I’m optimistic Bawumia will win – Nana Akomea
1 hour -
Today’s Front Pages: Wednesday, November 20, 2024
1 hour -
Did you expect former President Kufuor to endorse you? – Akomea slams Alan
1 hour -
NPP’s 2024 loss inevitable regardless of rigging efforts – Akandoh
2 hours -
Election Watch Ghana condemns alleged NPP training of thugs, calls for peace ahead of elections
2 hours -
Mahama accuses Jubilee House of orchestrating fake news campaign against him
2 hours -
Dampare assures Ghanaians of robust security plan for 2024 elections
2 hours -
Accra Institute of Technology hosts successful 2024 Science, Technology, and Innovation Expo
2 hours -
Regina Daniels had pastors, oil barons as suitors before I met her – Ned Nwoko
2 hours -
Asake featured in Wizkid’s upcoming album Morayo as full tracklist unveiled
2 hours -
Experts warn as Tinubu seeks approval for $2.2bn fresh external borrowing
2 hours