Burnley substitute Sam Vokes struck a crucial late away goal to deny Aberdeen a famous Europa League win at Pittodrie.

The Dons led through Gary Mackay-Steven’s penalty from the 19th minute and were more than holding their own until Vokes flicked the ball over two defenders’ heads and fired into the roof of the net to make it 1-1 with 10 minutes left.

Finances suggested the game should have been a mismatch – Burnley raked in £120million for finishing seventh in the Premier League while their hosts collected £2.3million for a fourth consecutive runners-up spot in Scotland.

But Aberdeen had more than an edge in European experience, not just from their 1980s heyday which saw them win the European Cup Winners’ Cup and Super Cup. The Dons are well used to competing in the summer months in recent years while Burnley were making their return to European competition after a 51-year absence. However, both teams will be well aware of the significance of the away goal.

The visitors suffered an early blow when they lost England goalkeeper Nick Pope to a shoulder injury. His replacement, Anders Lindegaard, was soon picking the ball out of the net after well-placed German referee Daniel Siebert spotted an illegal challenge with the arm by James Tarkowski, which left Cosgrove clutching his face. Mackay-Steven sent the Danish substitute the wrong way from the spot.

Aberdeen were pressed in for much of the rest of the half but they soaked up the pressure and looked purposeful in attack. The half-time situation could have been worse for Sean Dyche’s side but Graeme Shinnie shot weakly at Lindegaard after robbing Ashley Westwood and driving to the edge of the box.

Aberdeen had two players in defence who were making their debuts after missing the whole of last season with knee injuries, but former Hamilton captain Michael Devlin was hugely impressive while Tommie Hoban just about emerged unscathed from a difficult night against Aaron Lennon after joining on loan from Watford on Wednesday.

They protected Joe Lewis until the 49th minute, when the goalkeeper produced a brilliant point-blank stop from Jack Cork’s diving header before getting a crucial touch to Lennon’s driven cross.

The hosts weathered a brief storm before threatening again. Cosgrove had a shot saved as a break caught Burnley wide open and Mackay-Steven forced a flying save from Lindegaard with a header from eight yards.

Shinnie dropped into a back five after Johann Berg Gudmundsson and substitute Vokes had efforts off target for the visitors and Aberdeen again came close when McGinn fired just wide.

But the tie turned when Vokes brought down a knockdown eight yards out and gave the 2,000 away fans cause for celebration and optimism ahead of next week’s second leg at Turf Moor.