Match ends, Nigeria 3, Cameroon 2.
Holders Cameroon were knocked out of the Africa Cup of Nations by Nigeria in a five-goal last-16 thriller.
Goals from Stephane Bahoken and Clinton Njie saw Cameroon lead 2-1 at half-time after Odion Ighalo had put Nigeria ahead in Alexandria, Egypt.
But two goals in three minutes swung the game back in Nigeria's favour and set up a quarter-final with South Africa, shock winners over Egypt.
Ighalo equalised before the forward set up Alex Iwobi to hit the winner.
Nigeria had been on the receiving end of an upset in their previous game, a 2-0 defeat by Madagascar in their final group match.
Yet they produced their best performance of the tournament to end Cameroon's hopes of retaining the title they won in Gabon in 2017.
Ighalo's deflected shot gave Nigeria the lead before Bahoken side-footed the equaliser after Christian Bassogog's cross.
In an enthralling tie, Cameroon took the lead through Njie's composed finish.
Man-of-the-match Ighalo made it 2-2 with a volley after Ahmed Musa's chest down before Ighalo turned provider for Arsenal's Iwobi to slot in a dramatic decisive goal.
Analysis
BBC Sport's Nick Cavell in Alexandria
For once, this was a big-name match-up that lived up to the billing, especially in terms of the goals scored and the ebb and flow of the match.
This was the best either side has played so far at the tournament and it still felt as if there was a lack of real quality from both teams. That was reflected in the first goals scored - Nigeria's was a deflected effort and Cameroon's quickfire strikes were both a result of defensive errors.
The second period was better and Nigeria looked hungrier. They also played better and their two goals both involved a lot more skill than luck.
Ighalo looked like he did in his best days at Watford, Iwobi showed the quality that Arsenal fans are crying out for and Leicester City fans may well be asking if this was the same Ahmed Musa that played for them.
For Cameroon, Andre Onana pulled off a few saves to show why he is currently the most-highly rated African keeper around, as he continued to show his form of the past season with Ajax.
Pierre Kunde did his best with his set-pieces but the quality was not there to make the most of them.
Line-ups
Nigeria
Formation 4-2-3-1
- 16Akpeyi
- 20AwaziemBooked at 70mins
- 5Troost-Ekong
- 22Omeruo
- 2Aina
- 8Etebo
- 4Ndidi
- 15SimonSubstituted forChukwuezeat 60'minutes
- 18IwobiSubstituted forBalogunat 90+1'minutes
- 7Musa
- 9IghaloSubstituted forOnuachuat 85'minutes
Substitutes
- 1Ezenwa
- 3Collins
- 6Balogun
- 11Onyekuru
- 12Shehu
- 13Chukwueze
- 14Onuachu
- 17Kalu
- 19Ogu
- 21Osimhen
- 23Uzoho
Cameroon
Formation 4-2-3-1
- 1Onana
- 2Fai
- 4Banana
- 5Ngadeu-Ngadjui
- 6Oyongo
- 15KundeBooked at 28minsSubstituted forZouaat 87'minutes
- 14MandjeckBooked at 51minsSubstituted forZambo Anguissaat 62'minutes
- 11Bassogog
- 13Choupo-Moting
- 7N'JieSubstituted forToko Ekambiat 70'minutes
- 9Bahoken
Substitutes
- 3Bong
- 8Zambo Anguissa
- 10Djoum
- 12Dawa
- 16Ondoa
- 17Toko Ekambi
- 19Zoua
- 20Boumal
- 21Kaptoum
- 22Kana-Biyik
- 23Kameni
- Referee:
- Joshua Bondo
- Attendance:
- 10,000
Match Stats
- Possession
- Home39%
- Away61%
- Shots
- Home16
- Away12
- Shots on Target
- Home4
- Away3
- Corners
- Home6
- Away7
- Fouls
- Home17
- Away14
Live Text
Post update
Full Time
Second Half ends, Nigeria 3, Cameroon 2.
Post update
Attempt blocked. Michael Ngadeu-Ngadjui (Cameroon) right footed shot from outside the box is blocked. Assisted by André-Frank Zambo Anguissa.
Post update
Corner, Cameroon. Conceded by Ola Aina.
Post update
Yaya Banana (Cameroon) wins a free kick in the defensive half.
Post update
Foul by Paul Onuachu (Nigeria).
Post update
Attempt saved. Jacques Zoua (Cameroon) header from outside the box is saved in the bottom right corner. Assisted by Yaya Banana.
Substitution
Substitution, Nigeria. Leon Balogun replaces Alex Iwobi.
Post update
Attempt missed. Stéphane Bahoken (Cameroon) left footed shot from the centre of the box misses to the left. Assisted by Christian Bassogog with a cross.
Substitution
Substitution, Cameroon. Jacques Zoua replaces Pierre Kunde.
Post update
Foul by Pierre Kunde (Cameroon).
Post update
Ahmed Musa (Nigeria) wins a free kick in the defensive half.
Post update
André-Frank Zambo Anguissa (Cameroon) wins a free kick on the right wing.
Post update
Foul by Paul Onuachu (Nigeria).
Substitution
Substitution, Nigeria. Paul Onuachu replaces Odion Ighalo.
Post update
Attempt missed. Odion Ighalo (Nigeria) header from the centre of the box misses to the left. Assisted by Samuel Chukwueze with a cross following a corner.
Post update
Corner, Nigeria. Conceded by Yaya Banana.
Post update
Attempt blocked. Ahmed Musa (Nigeria) right footed shot from the centre of the box is blocked. Assisted by Samuel Chukwueze.
Post update
Attempt missed. Eric Maxim Choupo-Moting (Cameroon) header from the centre of the box misses to the right. Assisted by Pierre Kunde with a cross following a corner.
Post update
Corner, Cameroon. Conceded by William Troost-Ekong.