Zambia and Cameroon advanced to the African Nations Football 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-all 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 next week, finished top by virtue of the number of goals scored against the other three teams.
Cameroon will return to Benguela to play holders Egypt in their quarter-final tie next week.