Juanlu Sanchez came off the bench to fire Spain to a record-equaling fifth Olympic men’s soccer final on Monday.
Sanchez struck in the 85th minute at Stade de Marseille to seal a 2-1 win over Morocco and set up a final against either France or Egypt at the Paris Games.
Morocco led 1-0 at halftime after the tournament’s leading scorer, Soufiane Rahimi, converted a penalty in the 37th.
Spain evened the score in the 65th when Fermin Lopez showed quick feet in the box and hit a left-footed shot low in the bottom corner. The Barcelona midfielder then provided the assist that set up Sanchez to sweep his winning goal into the far corner.
Spain, which won gold at the 1992 Barcelona Olympics, lost to Brazil in the final at the Tokyo Games three years ago.
It will get the chance to make up for that and add to what has already been a successful year after the men’s senior team won the European Championship last month.