Reduced to 10 men for over half the match, Belgium still beat South Korea 1-0 on Thursday to finish atop of Group H and eliminate the last Asian team from the World Cup.
With a late goal yet again, Belgium made the difference in the 78th minute when defender Jan Vertonghen followed up a shot from teenage striker Divock Origi and tapped in the rebound past goalkeeper Kim Seung-gyu.
"We knew all games were going to be tough," said Belgium coach Marc Wilmots. "But even with 10 men, we still pushed forward. These guys are really hungry."
After three narrow victories and precious little beautiful play, Belgium will now play the United States in Salvador on Tuesday. And along with Iran, Japan and Australia, South Korea departed as the last team from the Asian federation, all in the first round.
Algeria finished second in the group after a 1-1 draw with Russia — a result that meant South Korea needed a four-goal win to advance.
While that never looked likely, South Korea did not go without a strong fight, landing the ball on Belgium's crossbar on the hour-mark and testing standout goalie Thibaut Courtois with several shots afterward. Yet even with a man up, the Koreans could never pressure Belgium enough to find an opening and paid the price on a counterattack.
Belgium promised to play with flair in this tournament but is proving that it's still a master at grinding out results. Having a goalie like Courtois does make it easier, especially as its defense was missing injured starters Vincent Kompany and Thomas Vermaelen. But the Belgians also proved they sorely lacked the creative skills of Kevin De Bruyne and Eden Hazard, who were on the bench from the start.
On the hour mark, South Korea came closest to scoring when Son Heung-min saw a cross float right onto the crossbar beyond the reach of Courtois.
Belgium fielded four World Cup newcomers, but was reduced to three in the 45th minute when Steven Defour planted his studs, leg outstretched, into the shin of Kim Shin-wook. Australian referee Benjamin Williams didn't hesitate to pull out the red card.
Earlier, the South Koreans almost scored around the half-hour mark. First, a long-distance drive from Ki Sung-yeung forced Courtois into a great diving save and, one minute later, Defour kicked a ball off the line in another goalmouth scramble.
Mertens could have lifted the pressure off Belgium in the 25th minute he was left wide open eight meters out. He skied the ball over, immediately opening his mouth in disbelief at having missed such a chance.
In the second half, South Korea brought on a second full striker in Lee Keun-ho for even more pressure.
The Asians created a flurry of chances early in the second half, but either Courtois showed his class or the South Koreans lacked any precision.
Meanwhile, in Curitiba, Algeria qualified for the knockout stages for the first time ever, with Islam Slimani's headed equalizer giving his team a 1-1 draw against Russia.
Algeria placed second in Group H behind Belgium with four points, meaning it will meet Germany in the Round of 16.
The victory prompted mass celebrations on the pitch among the players, and had coach Vahid Halilhodzic shaking his head with disbelief.
Russia, needing a win to advance, went on the attack from the start and dominated the first half with its intricate and swift passing movements through midfield. The Russians took the lead as early as the 6th minute when Alexander Kokorin powerfully headed in a left-foot cross from Dmitry Kombarov.
Slimani's 60th-minute equalizer came after Russia goalkeeper Igor Akinfeev failed to catch a swinging left-foot free kick from Yacine Brahimi. That was the second costly error that Akinfeev has made in the tournament for Russia. However, there were indications on the TV broadcast that a green laser was being shone toward the goalkeeper's face just before the free kick was taken.
Brahimi had troubled the Russia defense consistently until his substitution late in the game. Along with midfielder Sofiane Feghouli, he helped neutralize much of Russia's attacking intent through the second half.
Before Algeria's equalizer, Russia had chances to double its lead, notably in the 26th minute when Oleg Shatov weaved through the Algeria midfield but his right-foot shot drifted wide of the Algeria post.
Russia hasn't qualified for the second round of the World Cup since 1986 when it played under the umbrella of the Soviet Union.
Algeria came closest to qualifying for the second stage at the World Cup in 1982, but West Germany and Austria played out a result that suited both of those teams. The European teams, meeting a day after Algeria had won its last group game, knew that a 1-0 win for West Germany would put both through to the second round at Algeria's expense. It remains one of the most contentious group games in the tournament's history.