Christopher Wooh scored the final goal as Cameroon secured a 3-2 victory over Gambia on Tuesday, rescuing their Africa Cup of Nations campaign.
Meanwhile, both Ghana and Algeria were eliminated from the tournament. Cameroon, previously at risk of an early exit, secured their place in the knockout stage as the runner-up in Group C by scoring more goals than Guinea, which lost 2-0 to group winner Senegal.
Gambia defender Muhammed Sanneh stunned the Cameroon players in stoppage time when he scored what would have been the fourth goal in eight minutes for a 3-3 tie, but a VAR check showed he used his hand. A draw would have eliminated both teams.
"There are a lot of surprises this year, but we had confidence in ourselves," said Georges-Kevin Nkoudou, who struck the crossbar in the first half for Cameroon. "You know that things can happen very quickly, and that’s what happened. I have no more words; I don’t know what to say. It’s incredible."
Gambia had put themselves in contention for the last 16 by coming from behind to take a 2-1 lead when Ebrima Colley scored with just five minutes of normal time remaining. Then, an own goal two minutes later from James Gomez, who was trying to cut out a cross, drew Cameroon level. Wooh scored the decisive header from a corner in the first minute of stoppage time.
"We just won a final, a great match against a very, very good team who gave everything, who gave their all. Bravo to them, and congratulations to my teammates who believed in this victory despite everything," said Cameroon captain Andre-Frank Zambo Anguissa.
Defending champions Senegal finished with a perfect nine points from three games, followed by Cameroon and Guinea on four, with Gambia finishing bottom of the group with none despite all the excitement the Scorpions had brought to the tournament.
Gambia coach Tom Saintfiet resigned after the game.
Cameroon counterpart Rigobert Song dropped Manchester United goalkeeper Andre Onana to the bench in favor of Onana's cousin, Fabrice Ondoa. Onana missed Cameroon’s first game after playing for United the day before, then produced a shaky performance in its second.
Goals from Abdoulaye Seck and Iliman Ndiaye were enough for Senegal to maintain their perfect start to their title defense with another commanding performance in Yamoussoukro.
Cameroon’s win also eliminated Ghana, which had been hoping to still somehow finish as one of the four best third-place finishers. That’s no longer possible for the Black Stars with just two points.
The Ghana Football Association later fired Chris Hughton as coach. His team missed its chance to progress Monday when it conceded two goals in stoppage time to draw with Mozambique 2-2.
Mauritania eliminated two-time champion Algeria by winning its first-ever Africa Cup game to reach the last 16.
Mohamed Dellahi Yali’s first-half strike helped Mauritania win 1-0 and left the Desert Foxes contemplating their second straight group-stage exit.
Substitute Pape Ibnou Ba missed a great chance to seal it late when he struck the crossbar with the goal at his mercy, but the Lions of Chinguetti survived 11 minutes of stoppage time to see out their first win in their third participation in the tournament.
"We suffered. We knew that this team had great individual quality (but) we were solid. We scored from one situation and we fought, we showed great desire, and I'm very proud, very proud of what we did," said Mauritania coach Amir Abdou.
Their win was enough to finish among the four best third-place finishers.
Goals from Mabululu and Zine earned Angola the top spot in Group D with a 2-0 win over Burkina Faso.
Both teams had already qualified for the last 16.