In pictures: Despair as Senegal crash out of World Cup
Getty Images Sport
Senegal defender Salif Sané looks devastated as the final whistle is blown in Russia's Samara arena
Senegal 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
Fans of both teams are all smiles before kick-off
AFP
This Senegal supporter takes the team's "Lions of Teranga" nickname quite literally
AFP
Senegal have an early penalty call overruled by the video assistant referee system (VAR) after this challenge on Sadio Mané...
Alex Duval Smith/BBC
..a decision which outraged some supporters watching in Place de l'Obélisque, in Senegal's capital, Dakar.
AFP
Senegal had some good opportunities but even star striker Sadio Mané (L) was unable to breach the Colombian defence
Reuters
Colombia's Johan Mojica is shown a yellow card by referee Milorad Mazic in the 45th minute...
EPA
..later Mbaye Niang of Senegal gets a yellow card for bringing down Colombia's Yerry Mina with a high boot - but this was not the card which caused Senegal's elimination
Getty Images
Colombia score the only goal after 73 minutes with this header from Yerry Mina...
Reuters
Senegal coach Aliou Cissé waves on the sidelines to try and calm his players down
Alex Duval Smith/BBC
An anxious wait follows for fans watching the last few minutes in the Senegalese capital
Getty Images Sport
When the final whistle comes the disappointment on the players' faces is plain to see...
Getty Images
..as Senegal sign off from the 2018 World Cup...
AFP
..and their defeat means no African side remains in the tournament.