Tunisia humbly crashed out of the Africa Cup of Nations after drawing 0-0 with South Africa in a poor final round Group E match in Korhogo on Wednesday.
This result means that their opponents have qualified into the Round of 16.
Tunisia, ranked third in Africa, were expected to make the play as they needed a win to move off the bottom of Group E, but they created very little in the contest and failed to break down a solid South Africa.
Mali top the pool with five points from their three games following a goalless draw with Namibia, with South Africa in second place on four points.
Namibia also qualified for the first time as one of the four best third-placed teams.
Tunisia are the third-ranked African side at the tournament in the Ivory Coast behind Morocco and Senegal, but following a shock loss to Namibia in their opening game, they could only manage draws with Mali and South Africa and join Algeria and Ghana as spectators in the remaining matches of the 34th edition of the AFCON.
Group winners Mali advance to a last-16 meeting with Burkina Faso in Korhogo next Tuesday while Namibia will play neighbours Angola on Saturday. South Africa will play the winners of Group F on Tuesday.