In pictures: Despair as Senegal crash out of World Cup
Getty Images SportSenegal came so close but in the end have been eliminated from the World Cup because they had received more yellow cards than Japan.
That means all five African teams - Tunisia, Morocco, Egypt, Senegal and Nigeria - have been knocked out of the group stages.
It's the first time since 1982 that no African team has made it through to the knockout stage.
And the first time that the fair-play rule regarding yellow cards has been used in the World Cup.
Here is how Senegal's 1-0 defeat to Colombia played out.
Reuters
AFP
AFP
Alex Duval Smith/BBC
AFP
Reuters
EPA
Getty Images
Reuters
Alex Duval Smith/BBC
Getty Images Sport
Getty Images
AFP