European champions Spain rallied to make the quarter-finals of the FIFA U-17 World Cup with a 2-1 victory over France, signalling their title intentions in Guwahati on Tuesday.
Spain will take on Asian surprise package Iran, who knocked out fancied Mexico by a similar margin in the day's one pre-quarterfinal clash at Margao, Goa.
Juan Miranda (44th minute) and Abel Ruiz (90th) scored for Spain, while Lenny Pintor struck for France in the 34th minute at the Indira Gandhi Stadium.
Pintor put France ahead in the Round of 16 clash, but the lead did not last more than 10 minutes as Miranda restored parity just as the half time approached.
Spain celebrated after Miranda headed in the ball to the top right corner off a Ferran Torres cross.
Moments before Spain erupted in joy, France had taken the lead when Pintor's right-footed shot from the centre of the box off Amine Gouiri's assist found the back of the net.
Just when it appeared that the match between the two European giants would go into extra time, the Spanish were awarded a penalty, which Barcelona starlet Ruiz duly converted to break the French hearts and knock them out of the tournament.
Ruiz converted from the spot after the penalty was conceded by Oumar Solet.
In the four-minute injury time, Wilson Isidor's header from the centre of the box, off Maxence Caqueret's cross was blocked by the Spanish defence.
There were attempts galore in both halves as France and Spain looked to outdo each other.
Before that, Pintor's right-footed attempt off Yacine Adli pass too was saved, as the Frenchmen's quest to find the equaliser ended in disappointment.
Spain, too, made their moves but they were also not effective enough.
Having staged a fine comeback after losing their tournament opener to Brazil, Spain are seeking their maiden FIFA U-17 World Cup title.
Earlier, Iran played a tactical game to outwit Mexico 2-1 and set up a clash with Spain in the quarter-finals of the FIFA U-17 World Cup in Goa.
Iran exploited the rival's weak defence to score through Mohammed Sharifi (7th) and Allahyar Sayyad (11th).
Iran's Younes Delfi, who received a yellow in the 80th minute, the second in the tournament for rough tackle, will miss the quarter-final against Spain.