At that moment, Mozambique was leading 4-2, a result which favoured the Tunisians to go through.
However, two late goals by Zambia saw the tie end 4-4 and effectively ending Tunisians hope of a place at the last four. Zambia finished on four points, three behind Mozambique. Tunisia and South Africa finished in that order on three points apiece.
Two goals within a minute in the dying minutes from Adrian Chama and Boniface Ndhlovu was all Zambia needed to snatch a point off Mozambique and seal a place at the semis.
The first half ended two-all with Flavio Boavida and Mario Junior scoring for Mozambique and Chama and Chanda Chungu for Zambia.
Early in the second half, the Mambas shot into a two-goal lead courtesy Flavio on 24 minutes and captain Ricardo Mendes three minutes later, only for the Zambians to level at the death.
At the Ellis Park, South Africa led 1-0 at half time thanks to Renaldo Donnelly who converted a second minute penalty.
It took a spirited second half performance from the Tunisians to shatter the host’s chances with Bilel Ajmi and Zoubeir Amimi netting a hat-trick each and the other from Moez Bacouche.
Ajmi cancelled South Africa’s lead a minute from recess before putting his side up eight minutes later. Amimi scored the third on 36 minutes before Bacouche took the game beyond the South Africans with the fourth goal on 37 minutes.
The South Africans explored all their cards and sacrificed goalkeeper Trevino Pillay but that would come at a cost as the Tunisians capitalised on that with Amimi adding two more goals and one from Ajmi to complete the rout.
Tunisia 7-1 South Africa
Mozambique 4-4 Zambia