Gerard Deulofeu helped Spain Under-21s cruise to a 3-0 win over San Marino on Wednesday evening.
The winger played 81 minutes in Serravalle, where goals from Munir, Denis Suarez and Jorge Mere secured the three points.
It was an important victory for Spain who are competing with Croatia for top position in Qualifying Group 6 for next summer’s European Championships.
Both nations currently have 20 points, with Croatia sitting at the summit on goal difference.
Spain host Estonia in their final group match next Tuesday, with Croatia travelling to Sweden.
The team that wins Group 6 automatically progresses to the tournament finals, which are being played in Poland next June.