Nigeria, Uganda, Mali and Morocco qualified for the 2019 Africa Cup of Nations on Saturday while Libya scored eight goals to keep alive their hopes of also featuring at the finals.
Nigeria drew 1-1 with South Africa in Soweto, Uganda edged Cape Verde 1-0 in Kampala, Mali beat Gabon in Libreville and Morocco went through after rivals Malawi lost in the Comoros.
Libya triumphed 8-1 in the Seychelles and host South Africa next March on the final matchday needing a win to accompany Nigeria in qualifying from Group E.
The Libyans just missed equalling the record away winning margin for a Cup of Nations qualifier held by Ghana, who won 9-1 in Niger 49 years ago.
A total of nine nations have booked places at the newly-extended 24-team finals with hosts Cameroon, Madagascar, Senegal, Egypt and Tunisia securing berths before this weekend.