Lucas Paqueta scored a last-gasp penalty as Brazil twice came from behind to draw 3-3 with Spain in a thrilling friendly at the Santiago Bernabeu.
Paqueta converted with one of the last kicks of the game, less than 10 minutes after Rodri thought he had grabbed the winner for Spain in their first meeting with Brazil for 11 years.
Rodri had opened the scoring from the spot before Dani Olmo's strike doubled Spain's advantage.
Rodrygo issued an immediate response to halve the deficit and Brazil wonderboy Endrick scored for the second game running to level the score, paving the way for the late drama.
Having missed an early opportunity when he failed to test Brazil goalkeeper Bento, Lamine Yamal was at the heart of Spain's opener when, in the 11th minute, he was brought down by Joao Gomez in the box, with referee Antonio Nobre pointing to the spot – Rodri calmly slotting the resulting penalty down the middle.
Brazil went close at the other end when Real Madrid stars Rodrygo and Vinicius Junior combined, with the latter firing straight at Unai Simon, but Spain made it 2-0 when Olmo lashed in following superb skill to bamboozle two defenders.
Brazil responded quickly, though, punishing an error from Simon when Spain’s goalkeeper gifted the ball straight to Rodrygo, who finished coolly.
The half-time break and the four changes made by head coach Dorival Junior had the desired impact for Brazil, as Endrick – fresh from his historic winner against England – volleyed home an equaliser following a corner.
Olmo was denied a second when Bento pulled off an excellent save, but Spain did eventually get their chance to win it when Dani Carvajal was bundled over by Beraldo.
Once again, Rodri was on target, but in the dying embers, Carvajal’s clumsy tackle on Galeno handed Paqueta the chance to grab a draw, with the West Ham midfielder making no mistake.
Endrick shows the Bernabeu what he can do
After becoming Brazil’s youngest scorer since Ronaldo when he grabbed the winner at Wembley on Saturday, Endrick – who will be joining Madrid ahead of next season – will hope his goal this time out is the first of many at his soon-to-be stomping ground.
The 17-year-old levelled the scores five minutes into the second half with just his fourth shot for Brazil.
Head coach Dorival Junior will be disappointed that Brazil could not build on Saturday's 1-0 win against England with another victory but will see the positives as his side prepare to try and win a 10th Copa America title this summer.
The draw also keeps up Brazil’s excellent record against European nations in friendlies having not lost such a match since August 2013 against Switzerland.
Spain slip up... again
Spain failed to score in Friday's surprise friendly defeat to Colombia despite having 13 shots, but they had no such problem this time in a dominant first-half display.
Barcelona prodigy Yamal impressed, winning the penalty and being involved in much of Spain's positive play, while Olmo showed his individual quality too.
But from a position of comfort, Simon's mistake gifted Brazil a route back into the contest, head coach Luis de la Fuente will only have been further frustrated by Carvajal's clumsiness right at the end, as their search for a first win of 2024 rumbles on.