Greig Laidlaw scored with the last quick of the game to hand Scotland a 9-6 victory in their opening tour match against Australia.
The 26-year-old actually scored all nine of his side's points, kicking two penalties before the interval, while Mike Harris sent the ball between the posts for the home side to reduce the arrears to 6-3.
The Aussie fly-half levelled up proceedings shortly after the restart with another penalty from distance.
Harris then had the chance to hand the Wallabies the lead with two further penalties, but on both occasions he sent his efforts wide.
Just as the match in New South Wales looked to be heading for a draw, Laidlaw kept his composure to hand Andy Robinson's side the victory in the 82nd minute.
It is the first time Scotland have won on Australian soil since 1982.