Cristiano Ronaldo grabbed the winner as Scotland suffered more late misery in their UEFA Nations League encounter against Portugal in Lisbon.
Scott McTominay shocked the home fans at the Estadio do SL Benfica when he headed the opener in the seventh minute but the home side eventually made sustained pressure count when Bruno Fernandes netted from 20 yards early in the second half.
Scotland came back into the game but the tide turned again and substitute Ronaldo twice hit the post before knocking home a Nuno Mendes cross from close range in the 88th minute to seal a 2-1 win.
It was a third game in a row that Scotland had lost in the closing stages but, just like their opening Nations League A1 match against Poland, there were elements of the performance to admire.