Liverpool star Sadio Mane scored twice to help Senegal beat Kenya 3-0 and seal their spot in the last 16 of the Africa Cup of Nations.
They'll now face Uganda on Friday.
Meanwhile, Ivory Coast also cruised into the next round with a convincing victory over Namibia.
Morocco have also finished top of their group thanks to a thrilling 1-0 win over South Africa.
But Bafana Bafana will now have to wait to see if they progress to the last 16.
Elsewhere, Algeria have kept their winning streak alive with a 3-0 victory over Tanzania.

Dubai to spotlight future of sport at World Sports Summit
Safeguarding rules bar 15-year-old Sooryavanshi from Indian dressing room
Top contender Sabalenka faces fresh scrutiny at Wimbledon as mental scars linger
Munoz strike sends Colombia into World Cup Round of 32
Qatar's sports minister, Madibo visit Canada's injured Kone
