Team Japan held its nerve to defeat New Zealand 4-2 on penalties on Saturday and advance to the semifinals of the Tokyo Olympics men's soccer competition.

Captain Maya Yoshida scored the winning spot kick to seal victory in the shootout after neither team was able to score in 120 minutes at Kashima Stadium.

Seeking their first men's soccer medal at the Olympics since winning bronze at the 1968 Mexico Games, Japan will face Spain in Tuesday's semis. Spain overcame Ivory Coast 5-2 after extra time thanks to a hattrick from substitute Rafa Mir.