Scotland Under-21s fought back from two goals down to draw against Ukraine in Cartaxo, ending their Vale do Tejo tournament campaign on a high.
Taras Stepanenko and Dmytro Lyopa had given Ukraine a commanding lead with goals just before and after the half-time interval.
Stepanenko beat Chris Smith after 42 minutes, converting Volodymyr Lysenko's cross, before Lyopa extended Ukraine's lead five minutes after the break.
But Billy Stark's side came back into the game and Falkirk midfielder Scott Arfield gave them hope by replying in the 64th minute.
Ryan Conroy hauled the young Scots back to level terms when he netted six minutes later, but a winner was too much to wish for.
Conroy's Celtic club-mate Scott Cuthbert, captaining the side, was sent off 13 minutes from time and Scotland held on for a draw. The teams shared third place in the four-team tournament.
Scotland had been beaten 2-1 by hosts Portugal on Tuesday, with Rocco Quinn scoring and Jamie Hamill sent off, while Ukraine had lost to Sweden who joined the hosts in today's final.
New Scotland Under-21 boss Stark refreshed his team for their second game in the two-day tournament.
He took full advantage of his large squad as Cuthbert was the only player to keep his place, allowing the likes of Steven Lennon, Greg Cameron and Ross Campbell to come into the side.
The young Scots are without a game until their next European Under-21 Championship qualifier, the tricky test against unbeaten Group Six leaders Finland at Pittodrie on March 26.
Finland have won all five of their qualifiers so far, while Scotland have two wins, one draw and one defeat - which came against Finland - from four matches.