Javier Hernandez grabbed the headlines, scoring both of Mexico's goals as they beat Shinji Kagawa's Japan 2-1 at Estadio Mineirao in Belo Horizonte. The United striker's pair of second-half headers elevated him to joint third place in Mexico's all-time top scorers chart; he has now netted 35 times for his country.
It could have been an even better end to the tournament for Chicharito - he won an injury-time penalty but then failed to convert it, initially drawing a save from Eiji Kawashima and then hitting the crossbar on the rebound. This missed opportunity to complete a hat-trick came shortly after Shinji Okazaki pulled a goal back for Kagawa's team.
Both countries knew prior to kick-off they could not reach the semi-finals, so this result only meant Mexico finished third and Japan ended up at the bottom of Group A - a harsh fate when you consider how close Kagawa and his colleagues came to beating Italy in the previous game, leading 2-0 before eventually losing 4-3.
The group was won by tournament hosts Brazil after they beat Italy 4-2 - those teams will now be separated in the semi-finals and could therefore meet again in the Confederations Cup final next Sunday, 30 June.