TEENAGE midfielder Lewis Ferguson netted a spectacular over-head kick deep into injury time to secure a 3-2 win for Aberdeen over Livingston.
It was a carbon copy of his goal against Burnley in the Europa League and it elavated the Dons into the Premiership’s top six.
Aberdeen grabbed an early lead through Niall McGinn but were trailing 2-1 at the break.
Dons boss Derek McInnes introduced teenager Connor McLennan at the break and the 19-year-old turned the match with a superb display.
McLennan set up the equalizer through Sam Cosgrove then deep into injury time Ferguson popped up with the winner.
Aberdeen made two changes to the side that slumped to a disappointing 2-0 home defeat to St Johnstone on Saturday.
Striker Sam Cosrove returned suspension and Niall McGinn was promoted to the starting XI having been on the bench against Saints.
Teenager Connor McLennan dropped to the bench along with midfielder Dom Ball.
The Dons created the first opportunity in the third minute when Stevie May collected a pass from Graeme Shinnie and stepped past a challenge to open up space.
He unleashed a powerful 15 yard drive that Liam Kelly blocked.
The opener came moments later when Sam Cosgrove chased down a ball on the right byline and flashed a driven cross along the face of goal towards Niall McGINN who raced in at the back post to volley in from six yards.in the ninth minute.
Livingston levelled three minutes later when Criaig Sibbald intercepted a poor header back from Andy Considine.
Keeper Joe Lewis did well to block Sibbald’s shot but the ball rebounded to Scott PITTMAN who capitalized to lift it over the keeper into goal.
In the 24th minute on loan Derby County left-back Max Lowe delivered a cross from the unusual position of wide right to find May at the edge of the box but his glancing header flashed just over the bar.
Aberdeen came close in the 29th minute when Scott Wright had the time to look up and unleash a low 25 yard drive that flashed inches wide of the far post.
The Dons went behind in the 34th minute when Jack McMILLAN completed an impressive passing move down the inside right channel by drilling a shot from a tight angle beyond Lewis.
At half-time boss Derek McInnes took on teenager Connor McLennan for Scott Wright in a bid to change the game.
The Reds threatened early when a Cosgrove curling shot was deflected just wide of goal.
It was the first of a run of corners for the Reds but they failed to capitalize.
McLennan’s introduction brought a much needed spark to the Dons and he was running down the flank with intent and causing full-back Bobby Burns major problems.
A cross frond McGinn but he shot straight at the keeper.
Aberdeen equalized in the 56th minute McLennan delivered a magnificent cross into the box and COSGROVE rifled high into the roof of the net at the near post from six yards.
So effective was McLennan against Burns the full-back was substituted immediately after the goal.
Moments later Andy Considine was found unmarked six yards out by a cross from May. He spurned a great chance as his effort was straight at the keeper.
Cosgrove was booked for simulation in the 64th minute. It was a wrong call from refereee Craig Thomson as the striker was caught by substitute Scott Robinson.
Moments later Stevie May broke in on goal but shot straight at the keeper as Aberdeen continued to force the issue.
Livingston had to weather a storm under constant pressure from the Dons,.
Aberdeen grabbed the deserved winner for their second half domination when a corner was delivered into the box deep into injury time and FERGUSON produced a sensational over-head kick that rocketed into goal.
Aberdeen: Lewis, Logan, Lowe, Considine, McKenna, Shinnie, Ferguson, McGinn, May, Wright, Cosgrove.
Subs: McLennan (for Wright 46), Anderson (for May 86)
Subs not used: Cerny, Ball, Gleeson, Forrester, Wilson.
LIVINGSTON: Kelly, McMillan, Lithgow, Halkett, Gallagher, Byrne, Pittman. Menga, Jacobs, Burns, Sibbald.
Subs: Lawless (for Jacobs 58), Robinson (for Burns 58), Hamilton (for Menga 68)
Subs not used: Stewart, Cadden, Hardie, Lawson
Referee: Craig Thomson