Celtic survived a storming second-half comeback from Astana to reach the group stages of the Champions League despite a 4-3 defeat in Kazakhstan on Tuesday.
Brendan Rodgers' side had needed a stoppage-time penalty from Moussa Dembele to defeat the same opponents in the third qualifying round last year, but a repeat of such a nervy finish seemed unlikely this time around thanks to a 5-0 first-leg advantage.
Following Kristoffer Ajer's own goal, the third of the tie after Astana twice put through their own net at Celtic Park, any hope of an unlikely comeback from the hosts was seemingly extinguished when Scott Sinclair brilliantly levelled.
However, Astana had their visitors firmly on the back foot with two quickfire strikes through Serikzhan Muzhikov and Patrick Twumasi to open the second period.
Twumasi then took advantage of some awful defending to leave Astana needing three more in just over 20 minutes but they failed to take the numerous opportunities that fell their way and Olivier Ntcham and Leigh Griffiths calmed Celtic fears in the final 10 minutes to secure an 8-4 aggregate win.
One outstanding positive for Rodgers' men was Sinclair's sumptuous curling effort, which took his tally in qualifying to five and his early-season form has helped to ensure the absence of Dembele - out with a hamstring injury - has hardly been felt.
Dembele scored 32 times last season and is a target of Marseille, who confirmed their interest in the striker earlier on Tuesday.
Despite their commanding advantage, Celtic made just two changes from the first leg and, far from resting on their laurels, were the first to threaten in the 16th minute, as Callum McGregor played in Sinclair, whose effort was charged down by Evgeny Postnikov.
McGregor stung the palms of Nenad Eric with a rasping drive soon afterwards, but it was Astana who opened the scoring against the run of play in the 26th minute.
Dmitri Shomko was allowed to advance into space on the left before unleashing a shot that was flying wide until Ajer stuck out a leg and diverted it beyond the wrong-footed Craig Gordon.
Celtic were only briefly behind, however, and it was Sinclair who proved Astana's scourge once more, cutting in on his right foot and curling a fabulous effort beyond Eric into the far corner.
Gordon's fine fingertip save from Marin Anicic's header preserved parity on the night shortly before half-time and Astana came out with renewed vigour following the break, scoring twice within four minutes.
Scott Brown's inadvertent flick-on fell perfectly for Muzhikov to poke home and almost immediately Twumasi was left all alone to nod in Shomko's left-wing cross.
Celtic appeared to have weathered that storm but, after Griffiths blazed over an excellent chance, Astana moved upfield and Twumasi was allowed to run unchallenged into the box and squeeze his effort past Gordon at the near post.
Astana were suddenly rampant again and Gordon had to save from Twumasi, Muzhikov and Ivan Maevski in the space of a minute before Twumasi rifled a gilt-edged opportunity over.
And he would be left to rue that miss as Ntcham and Griffiths finally ended Astana's lingering hopes to confirm Celtic's place in Thursday's draw.
90 - GAL FOR CELTIC! [4-3] pic.twitter.com/Sm2KtTezj1— Celtic Football Club (@celticfc) August 22, 2017
|Simeone lauds ´different class´ Griezmann|
|Mourinho praises United´s professionalism in EFL Cup win|
|Spurs to host West Ham in EFL Cup fourth round|
|West Brom 1 Manchester City 2: Sane at the double amid fresh Gundogan fears|
|Manchester United 4 Burton Albion 1: Mourinho´s men begin EFL Cup defence in style|
|Arsenal 1 Doncaster Rovers 0: Walcott hits winner for Wenger´s men|
|AC Milan 2 SPAL 0: Penalty double seals comfortable win for Montella´s side|
|Chelsea 5 Nottingham Forest 1: Hazard on form as Batshuayi claims hat-trick|
|Juventus 1 Fiorentina 0: Mandzukic on target as Bianconeri maintain winning start|
|Returning Gundogan limps out of impressive Manchester City return|
|Hamburg 0 Borussia Dortmund 3: Bosz´s men cruise back to Bundesliga summit|
|Athletic Bilbao 1 Atletico Madrid 2: Correa and Carrasco strike in second-half surge|
|I have nothing to prove - Paulinho|
|Prodl pens new four-year Watford contract|
|Monaco renew Subasic, Raggi deals|
|Sampson sacked as England Women´s boss|
|Manchester United to act against ´offensive behaviour´ after Lukaku race row|
|Atletico Madrid´s Wanda Metropolitano to host 2019 Champions League final|
|Chelsea confident of recruitment compliance amid FIFA investigation|
|Brighton seal permanent signing of Newcastle keeper Krul|
|Barcelona condemn Spanish crackdown on Catalonia independence vote|
|Benzema seals Real Madrid stay until 2021|
|Perisic promised Inter can match Manchester United|
|The race is on - Aubameyang lays down Lewandowski challenge|
|Cristiano Ronaldo´s Real Madrid return confirmed|
|Mbappe can prove he´s ready for Madrid at PSG - Morientes|
|PSG ´destroyed the market´ with Neymar and Mbappe - Elber|
|Coutinho withdrawal inspired Leicester to victory, claims Shakespeare|
|Valverde hopes Suarez benefits from Eibar rest|
|Wilshere returning to his best form - Wenger|
|Klopp: Liverpool are still a good football team|
|Pochettino hails ´top player´ Alli|
|Messi from ´another planet´, says Semedo|
|James performance pleases Ancelotti|
|Maestro Messi brings up 300 Camp Nou goals|
|Messi is extraordinary – Valverde hails Barcelona star|
|Inter eyeing Champions League return - Eder|
|Klopp ´sick´ of conceding as Liverpool tumble out of EFL Cup|
|Hodgson urges caution over Souare handling|
|Barcelona 6 Eibar 1: Majestic Messi leads romp with four goals for LaLiga leaders|
|Burnley 2 Leeds United 2 (aet, 3-5 pens): Lonergan the penalty hero as Championship leaders cause cu|
|I´m the first to trust young players - Conte defends Chelsea youth record|
|Matic and Fellaini have never been this good – Mourinho tells Carrick, Herrera to be patient|
|Tottenham 1 Barnsley 0: Alli sees off stubborn Tykes|
|Bologna 1 Inter 1: Contentious Icardi spot-kick maintains Spalletti´s unbeaten run|
|Leicester City 2 Liverpool 0: Okazaki, Slimani dump Klopp´s men out of EFL Cup|
|Schalke 0 Bayern Munich 3: James scores on first Bundesliga start|
|Atletico benefiting from competition of fringe players - Simeone|
|Manchester City have got two players for every position - Delph|
|Bayern could say they don´t need me – Lewandowski accepts football´s cut-throat nature|
|Montella to keep on rotating as he plans for long season|
|Billionaire investor announces he is ´done´ funding Hamburg|
|Wenger confirms Welbeck groin injury|
|Ljungberg sad to leave Wolfsburg|
|Ferdinand, McGregor and Curry - Sport´s most notable crossover stars|
|Messi has his story, I have mine - Dybala plays down compatriot comparisons|
|Hazard to start against Nottingham Forest as Conte prepares to rotate|
|New Real Madrid contract ´already done´ for Zidane|
|Chelsea won´t appeal David Luiz red card, Conte confirms|
|Mbappe and Dembele lead Golden Boy nominees|
|Dembele tipped for early January return after successful surgery|
|I hope it´s the last time – Zidane relieved to welcome back Ronaldo|
|Szczesny to face Fiorentina as Allegri calls for Juventus consistency|
|Gundogan fears he might never return to top form after Manchester City injury nightmare|
|Kick It Out contact Manchester United over ´offensive´ Lukaku chant|
|Bayern Munich goalkeeper Neuer ruled out until January|
|Cologne drop protest against Borussia Dormtund VAR goal|
|Ferdinand wants to recapture ´chemical of competition´ from boxing|
|Barcelona not planning January signings despite Dembele injury|
|Neville trolls Ferdinand as Manchester United great starts boxing career|
|Manchester United great Rio Ferdinand to launch boxing career|
|Oxlade-Chamberlain relieved to join Liverpool from Arsenal, says Klopp|
|Case closed! Tianjin Quanjian dismiss Aubameyang links|
|Tevez has not met expectations, says Shanghai Shenhua chairman|
|Socceroos pair Jedinak and Rukavytsya return to squad for World Cup play-off|
|Allegri not the reason for Bonucci´s Juve exit – wife|
|Hazard: I improved after a week with Conte at Chelsea|
|We aren´t far off Real Madrid – Herrera sees no reason for De Gea to head home|
|Manchester City obliged to win title after spending so much - Herrera|