Rangers' Barrie McKay scored the winner as Scotland's Under-19s came back from two goals down to defeat Sweden 3-2 last night at Somerset Park.

The Swedes started briskly and shot-stopper Jack Hamilton had his hands stung by fierce early efforts from Victor Soderstrom and Alexander Fransson, but the Hearts youngster did well to keep his goal intact.

On 20 minutes Jamie Lindsay darted through the visiting defence, but his low curling shot was held by eccentric Swedish goalkeeper Linus Muller.

The visitors opened the scoring in fortunate circumstances four minutes from the break when Kristoffer Olsson bent over a free-kick from the left and Soderstrom's flick hit off Alex Davey six yards from goal and rolled in.

The Scots introduced towering Carlisle United striker Mark Beck for his debut at half-time, however, less than two minutes into the restart Soderstrom made it two when he turned at the edge of the box and with the Scottish defence backing off he sent a fierce shot home.

On 55 minutes, Sweden gave Scotland a route back into the game when Matthew Kennedy's in-swinging corner was headed into his own net by Victor Lindelof at the front post.

It was then 2-2 with just over an hour played as Beck, who qualifies for Scotland through a paternal grandparent, slid in to knock home a cut back from Lindsay who deserves great credit for chasing a lost cause all the way to the touchline.

And with the game slowly moving towards a draw, the Scots sneaked an unlikely win with five to play when Beck nodded a corner past Muller and after Ramus Lindgren blocked on the line McKay tapped home.