Aberdeen substitute Duk hit a double as the Dons came from three goals down to claim a 3-3 draw against Motherwell in Neil Warnock’s first league match at Pittodrie.

The visitors looked set to bounce back from their cup defeat by Morton as Theo Bair’s double and Adam Devine’s strike put them in a commanding position inside 26 minutes.

But Duk soon netted 30 seconds after coming on as part of a double substitution and the attacker levelled five minutes after the break after Stefan Gartenmann had pulled another goal back.

Both sides went on to have goals disallowed and both will no doubt be disappointed with a point, which leaves each of them three points outside the cinch Premiership top six.

With Pascal Jensen dropping out through illness, Warnock started with three defenders – Gartenmann, Nicky Devlin and Jack MacKenzie.

His side looked vulnerable at the back and Motherwell were ahead inside five minutes after Shayden Morris clumsily brought down Georgie Gent inside the box. Bair hit the penalty into the roof of the net.

READ MORE: Why Neil Warnock has already won me over at Aberdeen

Aberdeen had their moments in the opening half hour. Bojan Miovski got in behind and forced a save from Liam Kelly, while Connor Barron and Morris threatened from outside the box.

But Motherwell came closer when Kelle Roos tipped Jack Vale’s volley on to a post and stopped Bair’s follow-up.

The visitors doubled their lead in the 22nd minute when Bair tapped home Gent’s cross from five yards for his eighth goal in his last six league games.

They were three up and apparently cruising four minutes later when Devine marked his first start for the club by steering home Blair Spittal’s blocked shot after some direct running from Harry Paton had left Aberdeen’s back three exposed.

Boos rang round Pittodrie and Warnock started plotting changes which came on the half-hour mark as attacker Duk and centre-back Angus MacDonald came on for midfielders Dante Polvara and Morris.

Duk instantly made his mark, turning home after Motherwell had lost possession from their own throw-in deep in their half.

The deficit was further reduced in the 37th minute following Barron’s inswinging corner. Devlin was allowed a free header and Gartenmann converted the rebound following Kelly’s save.

The Dons continued to exploit Motherwell’s vulnerability from set-pieces. Leighton Clarkson, twice, and MacDonald threatened before the equaliser came following a throw-in. Graeme Shinnie was allowed space to cross and Duk outmuscled Devine to head into the far corner.

Aberdeen thought they had completed the turnaround midway through the second half when Miovski bundled the ball home from close range. The striker was flagged offside and a lengthy VAR check confirmed the decision, although he looked level to the naked eye.

Warnock’s side kept knocking on the door and Gartenmann headed against the crossbar from another Barron inswinger.

Motherwell were struggling to retain possession long enough to relieve the pressure, but they were celebrating in the 80th minute after Paton turned the ball home after a corner led to a goalmouth scramble.

The home side claimed for at least one foul and referee Kevin Clancy disallowed the goal after seeing Calum Butcher push Jamie McGrath with two hands on his VAR monitor.