Spain reaches gold medal game after defeating Morocco 2-1.

Fermin Lopez scores equalizer in the 65th minute.

Juanlu Sanchez nets game-winning goal in the 84th minute.

Morocco’s Soufiane Rahimi scores sixth tournament goal on penalty.

Spain to face winner of France vs. Egypt match.

 First Olympic meeting between Spain and Morocco since 2012.

 Spain’s Pau Cubarsi returns after suspension for yellow cards.

Morocco tops Group B, impressive defensive performance throughout.

Referee change due to collision with Moroccan player early in match.

 Spain's possession dominance, 54% to Morocco’s 48%, pivotal.

Spain's Alex Baena’s near miss in first-half injury time.

Morocco outshoots Spain 7-4, but Spain controls possession