Brazil, having already secured a spot in the Round of 16, posted a 5-2 win over Costa Rica to clinch first place in Group C, allowing Turkey to advance after their 3-0 win over China.
BRAZIL 5-2 COSTA RICA
Costa Rica led Turkey in the standings coming into the match and needed just a draw to advance. They fell behind early on a Luis Marin own-goal in the tenth minute and were looking at a 3-0 deficit after Ronaldo scored in the 13th and Edmilson added another in the 38th minute.
Costa Rica would continue to battle, getting back a goal through Paolo Wanchope in the 39th minute to go into halftime down 3-1. When Ronald Gomez scored in the 56th minute, it appeared as though Costa Rica had seized the momentum and that their third goal - to tie the match - might soon follow. Within ten minutes, Brazil closed the door on Costa Rica's second round hopes as goals in the 62nd minute (Rivaldo) and 64th minute (Junior) gave them what would be an insurmountable 5-2 margin.
Brazil wins the group with a 3-0-0 record and will face the second-place team from Group H - either Japan, Russia or Belgium.
TURKEY 3-0 CHINA
Turkey raced out to a 2-0 lead over China in the first ten minutes of their match and would end a late goal to post a 3-0 win over China - wiping out any advantage that would've allowed Costa Rica to finish second in the group in the event of a narrow loss in their match.
Hasan Sas scored his second goal of the tournament in the sixth minute, capitalizing on a mistake in the Chinese defense and finishing nicely past goalkeeper Jin Jiang. Bulent Korkmaz extended the lead to 2-0 for Turkey in the 9th minute.
China would finish the match with ten men after Jiayi Shao was red-carded in the 58th minute for a foul tackle.
Turkey added its third and final goal in the 85th minute as Umit Davala finished a pass from Sas off the post to beat Jiang.
Turkey advances as the second-place team in Group C and will face the winner of Group H - Japan, Russia or Belgium - in the second round. China finishes play in its first World Cup at 0-0-3, having been outscored 9-0. China head coach Bora Milutinovic announced his resignation shortly after the match.