The Menas produced the shock of the final round in the group stages to send the Indomitable Lions out of the competition.
Niger Republic will for the first time play in the last eight of the African Nations Championship, CHAH, following a victorious outing in their final game in Group E.
The Menas shocked one of the pre-tournament favourites Cameroon 1-0 in the last round of matches in Algeria.
Midfieldier, Soumaila Badamassi was the star and hero of the day for the West Africans after he came off the bench to score the decisive goal.
Badamassi netted a stunning free kick in the second half that saw Niger knockout the Indomitable Lions to finish top of the group and pick the ticket to the quarterfinal.
The game in brief
Both countries came into the last game in the group stages needing a win to seal their place in their last eight.
But it was Niger who started strongly and created the better chance in the opening half of the game.
However, there was nothing to separate both teams heading into the break as things remained goalless.
In the second half, the Indomitable Lions looked rejuvenated but their efforts failed to trouble the well-drilled Menas defense who remained resolute.
With 21 minutes left to play, Niger were presented with a chance from set piece when Salissou Maazou was fouled at the edge of the Cameroon box.
Super-sub, Badamassi stepped up to ensure the Menas took full advantage as he fired a stunning strike that was defletced into the Cameroonian net.
Niger held hold for the win to finish top of the three-team group with four points, ahead of Cameroon and Congo.
What the result means
Following their brilliant win, The Mena, in their fourth CHAN tournament appearance, reach the quarter-final for the second time after their showing in 2018.
They will now face the Black Galaxies of Ghana in the last eight in what is a West African derby on Saturday at the Miloud Hadefi stadium in Oran.
Related content
16:29 - 17.01.2023
CHAN Cameroon’s coach satisfied with derby win over Congo
The Indomitable Lions are on cloud nine having sealed revenge over their fierce regional rivals.
11:00 - 11.11.2022
Qatar 2022 Major surprise as Cameroon announce World Cup squad
Cameroon named their 26-man squad for the 2022 World Cup in Qatar with many familiar names and a major omission.
10:18 - 24.01.2023
CHAN 'Bold' Madagascar set up COSAFA derby after hammering Sudan
The Malagasy players were too good for their counterparts in Group C after they booked a ticket to the knockout stage with a 100% record.
09:29 - 24.01.2023
CHAN Video: How Madagascar thrashed Sudan to topple Ghana in Group C
The debutants are looking for their next victim after an unbeaten run in the group stage in Algeria.
09:19 - 23.01.2023
CHAN Video: Senegal, Ivory Coast put on show to knockout DR Congo and Uganda
The Teranga Lions and Elephants lived up to their pre-tournament hype to seal the top two places in Group B.
11:53 - 21.01.2023
CHAN Update: A barren day in Oran
Matchday nine was anything but special in Algeria after four teams failed to score a single goal in two matches.
15:53 - 19.01.2023
CHAN CAF cancels two fixtures in Algeria
Morocco has officially been ruled out of the 2022 African Nations Championship