Tunisia defeated ten-man Nigeria to go to the Africa Cup of Nations quarter-finals against Burkina Faso.
Youssef Msakni beat Super Eagles goalkeeper Maduka Okoye two minutes into the second half with a long-range attempt.
Nigeria’s task became more difficult with Alex Iwobi’s dismissal following a video assistant referee review.
The West Africans were the only team to win all three group games in Cameroon, but were outclassed by a Tunisia squad afflicted with Covid-19.
Umar Sadiq of Nigeria blasted across goal and wide in injury time after Moses Simon’s strike was blocked by Bechir Ben Said.
Tunisia, the 2004 Nations Cup champions, will meet Burkina Faso in the quarter-finals on Saturday, 29 January.