A first international try by Jo Ansbro saw Scotland grab a late 10-6 win over Ireland in their rugby union World Cup warm-up Test match at Murrayfield on Saturday.
The Irish, mainly a second-string side as coach Declan Kidney bids to reduce a 43-man squad to 30 for the World Cup, scored their points through two penalties by Jonathan Sexton.
Ansbro's fine late individual try was converted by Ruaridh Jackson while the Scots' other points came fron a penalty by veteran Chris Paterson, who is bidding to play in his fourth World Cup.
Scotland coach Andy Robinson credited 25-year-old Ansbro's try down to his scrum.
"What a great finish! Joe took his try absolutely superbly and I think we got what we deserved," said Robinson, rebuilding his reputation after a bruising spell as England coach.
"The score was all down to the speed of ball from the forwards.
"If you want to break down good defences you must have fast ball and the try underlined that.
"We had kept our shape in attack throughout the game and our scrum had been solid.
"Overall I am pretty pleased with the result and the performance at this stage in our build up to our departure for New Zealand."
Robinson, who was assistant coach of England when they won the 2003 World Cup, was full of praise for man of the match prop Geoff Cross.
"He (Cross) is a very strong man and I was good to see him using that power to such good effect," said Robinson.
"Another aspect which pleased me hugely was the fact that Ireland did not score a try against us - and didn't even look like scoring.
"But I am also the first to admit that we also need to improve our line-speed when we are in the opposition half.
"We need to step up and take our game forward when we face Italy here in a couple of weeks."
Kidney, who has been rewarded with a new contract ahead of the World Cup, insisted the outcome had not been a major setback.
"Obviously we came here wanting to win and I think we were a bit unlucky not to get that result," said Kidney, who guided Ireland to the Six Nations Grand Slam in 2009.
"But I was delighted with many features of our play and many of the younger guys did what was asked of them and more."
The Scots had made a storming start when wing Nikki Walker burst through three challenges before Johnnie Beattie burst into the danger zone.
But the good work was ruined when Jackson sent a wayward pass to Allan Jacobsen in the shadow of the posts.
The hosts suffered a setback midway through the half when Walker went off with a head injury and was replaced by Bath's Jack Cuthbert, who was earning his first cap.
His entrance was the cue for Ireland to pile on the pressure and unlike their opponents they capitalised by edging in front with a simple penalty Sexton.
The initial stages of the second half were a carbon copy of the first as the Scots earned the bulk of possession and territory.
Beattie set up the most potent attack by grabbing Fitzgerald's chip-ahead, however instead of feeding the unmarked Ross Rennie he opted to duck infield and the move broke down.
Two minutes later the Scots did equalise via the boot of Paterson when the Irish defence sneaked offside close to their own tryline.
The Irish seized the initiative 15 minutes from time as Sexton found the target again to set up a tense finale and they looked like holding onto their advantage until Ansbro's moment of magic.
The Scots have just one more warm-up match while the Irish have four including two against the French and one against 2003 world champions England.
Pens: Sexton 2
Scotland: 15 Chris Paterson, 14 Nikki Walker, 13 Joe Ansbro, 12 Graeme Morrison, 11 Sean Lamont, 10 Ruaridh Jackson, 9 Rory Lawson (captain), 8 Johnnie Beattie, 7 Ross Rennie, 6 Alasdair Strokosch, 5 Richie Gray, 4 Jim Hamilton, 3 Geoff Cross, 2 Ross Ford, 1 Allan Jacobsen.
Replacements: 16 Dougie Hall, 17 Alasdair Dickinson, 18 Alastair Kellock, 19 David Denton, 20 Greig Laidlaw, 21 Nick De Luca, 22 Jack Cuthbert.
Ireland: 15 Rob Kearney, 14 Andrew Trimble, 13 Fergus McFadden, 12 Paddy Wallace, 11 Luke Fitzgerald, 10 Jonathan Sexton, 9 Tomas O'Leary, 8 Denis Leamy, 7 Niall Ronan, 6 Mike McCarthy, 5 Leo Cullen (captain), 4 Donnacha Ryan, 3 Tony Buckley, 2 Sean Cronin, 1 Tom Court.
Replacements: 16 Jerry Flannery, 17 Marcus Horan, 18 John Hayes, 19 Mick O'Driscoll, 20 Kevin McLaughlin, 21 Isaac Boss, 22 Felix Jones.
Referee: Wayne Barnes (England)
Assistant referees: Dave Pearson (England), Stuart Terheege (England)
TMO: Graham Warren (England)
Gilbert has released a new line of rugby cleats. The Gilbert Virtuo 8S is part of the exciting new product. Check it out.
The entire All Blacks apparel line has been updated for 2013/14. Check out the New Zealand All Blacks polo.
The Nike Tiempo is a solid rugby cleat and one of few styles still made from full-grain natural leather.
The Gilbert Blitz 8S rugby cleat is a great cleat at a great price of $69.99. Get a new pair of cleats today.
A cool looking all black rugby cleat with the high performance adidas is known for. Get in the Gear!
Wear the crest of the British and Irish Lions on your t-shirt. A great look for the summer.
The All Blacks Performance t-shirt is black with hints of blue from the training jersey. Very Cool.
The New Zealand All Blacks training jersey for 2013/14. Get in the Gear!
The USA Rugby Pro Alternate rugby jersey is perfect for any fan of the Eagles. Get yours to wear during the summer Test matches.
The NEW All Blacks 2013/14 jersey has arrived at World Rugby Shop. Dare to wear the colors of the All Blacks.