Substitute Kenny McLean scored a vital away goal as Aberdeen went down 2-1 to Kairat Almaty in their Europa League qualifier in Kazakhstan.
Derek McInnes' men fell behind in 13 minutes when Mikhail Bakaev beat Danny Ward and Bauyrzhan Islamkhan struck a spectacular second from long range midway through the first half.
Midfielder McLean slammed the ball home after 69 minutes, not long after coming on as a substitute for David Goodwillie, to set up a huge match at Pittodrie next week.