Cameroon's Jean Makoun (left) tussles with Khaled Korbi
Cameroon scraped through to the Africa Cup of Nations quarter-finals after a tight 2-2 draw with Tunisia in Lubango which guaranteed their progress.
Armine Chermiti put Tunisia ahead inside a minute when he caught out the Cameroonian defence to head home.
Samuel Eto'o equalised at the beginning of the second half, before Cameroon defender Aurelien Chedjou's own goal put Tunisia ahead again.
Landry N'Guemo slammed home Cameroon's second equaliser to see them through.
The result saw Cameroon through in second place, behind Zambia, who beat Gabon 2-1.
Tunisia looked like they had grabbed the initiative from the off as they stunned Cameroon in the opening minute.
Khaled Souissi whipped in a cross from the right which caught out the dozing Cameroon defence, who allowed Chermiti to drift in and head home at close range.
The Tunisian striker immediately atoned for his miss against Gabon that cost his team a win in their previous group game.
Two minutes later it could have been two to the Carthage Eagles, when Yassine Mikari whipped in a fierce dead ball, which Cameroon goalkeeper Carlos Kameni got down to well and his defence cleared before Issam Jomaa could pounce on the rebound.
It took Cameroon until almost the half-hour mark to have a meaningful effort.
Eto'o's free kick sailed over the Tunisian defence to the far post, finding Alex Song, who should probably have connected with his head, but instead saw it fly past him.
Two minutes later Tunisian goalkeeper Aymen Mathlouthi was lucky to stay on the pitch when he appeared to deliberately handle outside the box and got a yellow for his troubles.
Samuel Eto'o scored his second goal of the tournament
Eto'o took the resulting free kick, and tried to roll it into the far corner from outside the box, but saw it deflected wide for a corner.
The busy Mikari had another good chance to double Tunisia's lead, when he was put clean through and had options with Chermiti waiting in the box, but wasted the opportunity by slamming it into the side-netting.
Cameroon emerged with more purpose in the second half and immediately hauled themselves back into the game.
Idrissou laid on a lovely flick in the area for substitute Achille Webo who cut back for Eto'o who finished just inside the post.
Six minutes later Eto'o, who was growing in influence, was handed a free header from a Georges Mandjeck cross, which looked to be headed for the top corner but inched wide.
Webo made a big difference after his introduction, bringing some shape and presence to Cameroon, who began pressing forward in search of another goal.
But they suffered another setback on 63 minutes with a bizarre and soft own-goal by Chedjou.
Tunisian substitute Chauki Ben Saada sliced an attempted cross into the box which looked harmless, but sparked confusion between Kameni and Chedjou, who headed in over his stranded keeper.
A minute later, N'Guemo squared it up immediately after great set-up play again from Idrissou and Webo, who laid the ball back on a plate for the midfielder just inside the box to drive past Mathlouthi.
Once squared up again, the game remained tight, with both sides unable to grab a winner.
Webo came closest when he almost found the top corner with a curling shot after being set up by Eto'o on the edge of the area.
Tunisia were reduced to 10 men with two minutes to go when Ammar Jemel was sent off for a second bookable offence, which only helped Cameroon to hold out for a draw, which saw them through - just.
Bookmark with:
What are these?