The men's Olympic soccer final is now set with champions Brazil set to face Spain in Yokohama this weekend after a tight pair of semifinals on Tuesday both went to extra time and one all the way to penalties.
It took until the 115th minute for the Spanish to squeeze past hosts Japan through a Marco Asensio effort in Saitama while the Brazilians needed penalties to overcome Mexico in Kashima after 120 goalless minutes.
The Japanese and Mexican sides will now meet in the bronze medal game at Saitama Stadium 2002 before the Selecao and La Rojita do battle for the gold medal at International Stadium Yokohama to close this event.
Craving even more coverage of the world's game? Listen below and follow ¡Qué Golazo! A Daily CBS Soccer Podcast where we take you beyond the pitch and around the globe for commentary, previews, recaps and more.
We look back at the semis.
Brazil: Title defense hopes
It was tight and it also required nerves of steel from the penalty spot, but the South Americans are now there with the chance to defend their 2016 title. A feisty affair saw nine yellow cards dished out as Andre Jardine's men made no mistake as Mexico missed twice. Dani Alves led by example with the opening spot kick and Gabriel Martinelli, Bruno Guimaraes and Reinier also converted.
Spain: Second gold in sight
Champions back in 1992 and silver medalists in 2000, Luis de la Fuente's men now have a shot at another gold, and they are also guaranteed a third medal by reaching the final. Asensio's winner emphasized the quality of the Spanish squad these games and the likes of Dani Olmo and Pedri have earned a long break after this capped the end of a long season followed by UEFA Euro 2020.
Japan: Hosts eye maiden medal
Ultimately, it was heartbreak for the home nation as they fell just short of taking the match to penalties after surviving an earlier scare when Spain were awarded a penalty which was then overturned by VAR. Samurai Blue came up a little short but the bronze medal contest does offer Hajime Moriyasu's men the chance to win a first-ever soccer Olympic medal for their country.
Mexico: Second medal chance
Like Japan, El Tri just did not have enough to go any further with penalties a tough way to go after Eduardo Aguirre and Johan Vasquez failed to score from the spot. All is not lost with a second medal a possibility for the 2012 champions but that will feel like scant consolation for Jaime Lozano's squad who were unable to follow up on their explosive quarterfinal progress.
Final: All signs point to few goals
Given the tight nature of both semifinals and the fact that neither side has been particularly prolific in front of goal while in Japan, the chances of a goal-filled final in Yokohama are slim. However, with everything on the line for the gold medal, perhaps Spain can rediscover their scoring touch from extra time against Ivory Coast or Brazil can replicate the opening 30-minute blitz against Germany.