Senegal were eliminated from the World Cup Thursday on a tie-breaker after losing to Colombia 1-0, while Japan were able to progress to the next round despite losing to already-eliminated Poland by the same score.
Colombia finished with six points. Japan and Senegal finished on four points and scored and conceded the same number of goals. The next tiebreaker went in Japan's favor, because it had four yellow cards in the tournament and Senegal had six.
Poland, which was already out of contention, picked up its first win of the tournament.
Colombia and Japan will learn their knockout round opponents later in the day when England and Belgium, which have both already qualified, play each other to determine their order in the final standings.
Senegal was making only its second World Cup appearance, gaining attention for its warmup routine, which resembles a choreographed dance and includes chanting before the players huddle together in laughter. A short video of the routine has drawn more than a million views on Twitter.
They were done in by a headed goal Colombian Yerry Mina. Had the two teams tied and Japan lost, they both would have advanced.
Colombia lost star player James Rodriguez he was subbed out just 31 minutes into his squad's final group match and headed straight for the locker room.
Rodriguez has been dealing with a nagging calf injury and soreness that kept him from starting Colombia's tournament-opening loss to Japan, but he had two assists in Colombia's 3-0 victory over Poland.
Belgium Top England Through Januzaj Strike
Adnan Januzaj's curling strike sent Belgium into the last 16 as group winners by sealing a 1-0 victory over England and putting his team on a potentially tougher path to the final.
A night of little tension or attacking intent seemed just what the England and Belgium coaches desired after making a combined 17 changes to their starting lineups to rest players for the knockout phase.
Entering the game on identical points and goals records — after each opening with two successive wins — England had the edge on its fair play record at the top of Group G.
Losing top spot, with World Cup top-scorer Harry Kane rested, gives England a last-16 game against Colombia on Tuesday in Moscow on the side of the draw featuring Spain, Russia, Croatia, Denmark, Sweden and Switzerland.
Belgium faces Group H winner Japan on Monday and a win there would mean a quarterfinal against Brazil or Mexico.
Belgium, Croatia and Uruguay were the only teams to win all three group games.
Tunisia Beat Panama 2-1, Both Teams Still Eliminated
Wahbi Khazri set up a second-half goal and then scored one of his own to help Tunisia secure its first victory in a World Cup in four decades.
The Tunisia captain's hard, rising shot in the 66th minute lifted his team to a 2-1 triumph over Panama. It came 15 minutes after Khazri's pin-point pass led to Fakhreddine Ben Youssef's equalizer.
Tunisia had not won a World Cup game since a 3-1 victory over Mexico in 1978.
Panama held a 1-0 lead at halftime because of an own-goal in which Jose Luis Rodriguez's hard shot deflected off of defender Yassine Meriah in the 33rd minute.