An injury time winner from substitute Mikel Merino saw former champions Spain edge Portugal and step inot the quarter-finals of the FIFA World Cup.
The 1-0 win at the Dallas Stadium not only ended Portugal’s run but also the illustrious career of Cristiano Ronaldo at the sport’s biggest tournament.
The 41-year-old Ronaldo, had confirmed on the eve of the encounter that this would be his last dance on football’s biggest stage.
Extra time looked certain, before fellow substitute Ferran Torres slipped in Merino to settle the contest in the first minute of injury time.
The neighbours came into the contest both unbeaten, but while Portugal had not been entirely convincing, Spain had not even conceded a goal in the tournament.
For all their pedigree, talent and history, Spain have only lifted the FIFA World Cup once, in 2010, while Portugal’s best was third place in 1966.
In Ronaldo and Spain’s 18-year-old Barcelona prodigy Lamine Yamal, the last-16 showdown was touted as a showcase of two extraordinary talents at opposite ends of their careers.
Spain should have been ahead with less than 10 minutes gone when Dani Olmo played in Mikel Oyarzabal but with only goalkeeper Diogo Costa to beat, he somehow pulled it well wide.
Portugal skipper Ronaldo had his first chance to add to his three goals in North America, stinging the palms of goalkeeper Unai Simon from a tight angle.
Luis de la Fuente’s Spain cranked up the pressure, Yamal and Alex Baena testing Costa twice in quick succession, the second a wonderful fingertip save.
Portugal ended the half on top and Roberto Martinez’s side were inches from taking the lead when Spain full-back Pedro Porro stuck out his head and directed a Nuno Mendes shot onto his own crossbar.
The winger Yamal had endured a frustrating time up against Mendes, but the Paris Saint-Germain full-back was forced off injured after 56 minutes in a blow to Portugal.
The game needed a spark and Ronaldo, well known to Spain from his time at Real Madrid, threw up his arms when a pass went astray.
Martinez made double changes on 71 and 83 minutes, but kept Ronaldo on.
And in a game that was cagey, Arsenal midfielder Merino won it at the death with a composed finish that was out of keeping with much of what went on before.

