The Ivory Coast crushed an abject Algeria 3-1 on Thursday with Nicolas Pepe among the scorers as the reigning champions crashed out of the Africa Cup of Nations in the group stage.
Franck Kessie and Ibrahim Sangare scored in the first half for the Elephants in Douala, while Pepe added another goal after the break as the Ivory Coast secured top spot in Group E.
Riyad Mahrez hit the post with a second-half penalty before Sofiane Bendebka pulled one back for Algeria with their first goal since arriving in Cameroon, but by then it was too late.
It is the fifth time in the last six Cups of Nations that the reigning champions have failed to make the AFCON knockout phase, but there has arguably never been a worse title defence.
Djamel Belmadi's side came to Cameroon on an unbeaten run stretching back over three years but they were held by Sierra Leone in their opening match and then lost to Equatorial Guinea to suffer a first defeat in 36 matches.
Algeria would have qualified for the last 16 with a win against an Ivory Coast side already guaranteed their place in the knockout rounds, but that never looked like a possibility.
Their demise was lapped up by the fans at the Japoma Stadium in Cameroon's economic capital, with the 50,000-capacity ground filling up as the game went on.
By the time the match was over it looked like fans had taken up more seats than the 60 percent capacity limit imposed as part of coronavirus restrictions, and many invaded the pitch in chaotic scenes of celebration.
The Ivory Coast clearly had the backing of the crowd and they will stay in Douala for a heavyweight last-16 tie next week against Mohamed Salah's Egypt in a repeat of the 2006 final won by the Pharaohs.