Mexico survived a stunning Senegal comeback as they won a Wembley thriller 4-2 to reach their first Olympic semifinal since 1968.
The Mexicans blew a two-goal lead with just over 20 minutes remaining of Saturday afternoon's London 2012 quarterfinal, but Tottenham misfit Giovani dos Santos and substitute Hector Herrera punished horrible extra-time errors to set up a clash with Japan and a guaranteed medal match.
Poor defending also saw Mexico go 2-0 ahead through Jorge Enriquez and Javier Aquino before Senegal scored twice in seven minutes to equalize through Moussa Konate's fifth goal of the tournament and a header from substitute Ibrahima Balde.
Japan maintained their pursuit of double Olympic football gold as the men followed the women into the last four of the tournament with a 3-0 win over Egypt .
Women's World Cup holders Japan stunned Brazil on Friday to set up a semifinal clash with France at Wembley on Monday.
Just 24 hours later, the men clinched their own Wembley date, with Kensuke Nagai, captain Maya Yoshida and Yuki Otsu all on target in their quarter-final clash with Egypt, who were reduced to 10 men when Saadeldin Saad clipped Manabu Saito on the edge of the area, earning him a straight red card.
Japan will now face Senegal or Mexico on Tuesday.