Bojan Miovski scored twice as Aberdeen came from behind to beat Livingston 2-1 and pick up a valuable three points in the cinch Premiership.
Livingston had failed to score in their previous seven matches, but ended that run as Kurtis Guthrie turned home from close range.
- How the teams lined up | Match stats
- Scottish Premiership table | Fixtures | Results
- Get Sky Sports | NOW Sports Month Membership: £21 a month for 6 months
But Miovski netted either a goal in each half to earn the hosts a second successive league win, which moved them eight points clear of their rock-bottom opponents.
How Aberdeen picked up the three points
The Dons - looking to move on quickly from Sunday's League Cup final defeat to Rangers - had the first effort of the match, but American midfielder Dante Polvara curled narrowly over the crossbar from 20 yards.
Livi responded strongly, with Jamie Brandon's deep cross finding the head of Joel Nouble at the back post, but Kelle Roos was untroubled in the Aberdeen goal.
Aberdeen went closer when Graeme Shinnie's low shot from range seemed to squirt off the Pittodrie turf and came back off the inside of the post before rolling away for a goal-kick.
But they were shocked in the 28th minute when Livingston ended what had been a seven-game scoreless streak.
The Dons defence failed to deal with a deep throw-in, allowing Ayo Obileye to turn the ball back across goal where Guthrie was perfectly placed to turn home from close range.
They could have been 2-0 ahead 10 minutes later as Scott Pittman turned neatly before firing towards goal, but Roos was equal to the effort.
Aberdeen hauled themselves level three minutes from the interval.
A patient move saw them work their way up the right flank, before Nicky Devlin whipped in a cross and Miovski powered a header past Shamal George in the Livi goal.
George was beaten again on the stroke of half-time as Miovski turned home a neat poacher's effort after a free-kick from the right, but an offside flag ruled the goal out.
Aberdeen started the second period at a greater tempo, and Richard Jensen saw an effort from distance comfortably held by George.
James McGarry was also denied by the Livingston keeper before Miovski netted his second in the 65th minute.
Luis 'Duk' Lopes twisted and turned on the left before drilling a low ball to the near post, where Miovski got in front of his man to turn home his 14th goal of the campaign.
Livi threatened to draw level through former Don Bruce Anderson, just two minutes after coming off the bench, but the striker placed his shot narrowly wide of the post with only Roos to beat.
And at the other end, Miovski was unlucky not to add a third for the home side with a neat flick that was well saved by George.
What's next?
Aberdeen's next Scottish Premiership match is away to Dundee on December 23, while Livingston are at Celtic.
Both games kick-off at 3pm.