Benguela: Zambia and Cameroon advanced to the African Nations Cup quarter-finals by the slimmest margin after Group D ended in a dramatic three-way tie.
Zambia beat Gabon 2-1 in Benguela to take top spot while Cameroon twice came from behind to draw 2-2 with Tunisia in Lubango and finish second.
The results saw Zambia and Cameroon end on four points, along with Gabon who had been top of the standings before the last day of group matches at the tournament in Angola.
Zambia, who will face Nigeria in the last eight in Lubango on Monday, finished top by virtue of the number of goals scored against the other three teams.
They were level on points with Cameroon and Gabon and also tied on goal difference but in a mini-league between the trio had scored four goals to Cameroons three and Gabons two to advance according to tournament regulations.
Cameroon will return to Benguela to play holders Egypt in their quarter-final tie on Monday.