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
|Huddersfield confident of Chelsea scalp - Ince|
|De Bruyne: Man City have to enjoy derby victory|
|There is no-one like Messi – Alcacer|
|Kane: Bring on the best in Champions League|
|Neville: Lukaku needs to believe amid Man United struggles|
|Messi best player of all time – Rakitic|
|Gattuso: I´m even tense playing football with my son|
|Suarez admits Villarreal red swung it for Barcelona|
|Villarreal win ´crucial´ for Barcelona boss Valverde|
|Villarreal 0 Barcelona 2: Suarez, Messi restore five-point LaLiga lead|
|AC Milan 2 Bologna 1: Bonaventura brace breaks Gattuso´s duck|
|Guardiola: Man City are an honest team|
|Mourinho: Herrera denied clear penalty in derby defeat|
|Mourinho admits title race ´probably´ over|
|Simeone defends Atleti´s style after battling win over Betis|
|Manchester City´s 14th win on the spin sets new top-flight record|
|Manchester United 1 Manchester City 2: Otamendi strikes massive blow in Premier League title race|
|Allardyce praises ´brave´ Pawson after penalty decision|
|Atletico Madrid set club-record unbeaten run in LaLiga|
|Ajax 3 PSV 0: Eredivisie title race gets new lease of life|
|Klopp involved in post-match spat with reporter|
|Rooney backs awarding of ´clear penalty´|
|Real Betis 0 Atletico Madrid 1: Rojiblancos make history to assuage Champions League pain|
|Klopp rages at referee after late penalty denies Liverpool|
|Liverpool 1 Everton 1: Late Rooney penalty secures unlikely derby draw|
|Napoli 0 Fiorentina 0: Sarri´s men miss chance to usurp Inter|
|Martial and Rashford both start Manchester derby as Jesus edges out Aguero|
|Neuer in no doubt over World Cup fitness|
|Wenger labels Saints sinners over time-wasting|
|Super-sub Giroud celebrates being Arsenal´s saviour again|
|Southampton 1 Arsenal 1: Super-sub Giroud rescues last-gasp point|
|Firmino and Coutinho on bench for Merseyside derby|
|Stoger ready to grab ´incredible opportunity´ at Dortmund|
|Courtois keen to resolve Chelsea future|
|Borussia Dortmund sack Bosz, bring in Stoger|
|Melbourne City 1 Central Coast Mariners 0: McCormack eases Cahill blues|
|Dortmund to hold news conference with Bosz on the brink|
|Guardiola: I would retire if possession football did not work|
|There´s no comparison, Ronaldo is best – Marcelo|
|Baker Mayfield wins Heisman Trophy|
|Bradley revels in ´dream´ MLS Cup success|
|Valverde unsure about Mascherano future|
|Allegri pleased with Juve display|
|Mourinho highlights City´s tactical fouls to ramp up ref pressure|
|Spalletti makes his point as Inter show they belong in Serie A title race|
|Toronto FC 2 Seattle Sounders 0: Altidore and Vazquez seal MLS Cup and historic treble|
|Guardiola: Wins over Mourinho aren´t special ones|
|No regrets over joining City - Guardiola remembers Ferguson advance|
|Juventus 0 Inter 0: Nerazzurri stay top as Derby d´Italia ends in stalemate|
|Valencia 2 Celta Vigo 1: Parejo keeps his cool to put the heat on Barca|
|Benitez rues same old story for struggling Newcastle|
|Verratti puts faith in Emery|
|Champions League focus has cost Spurs in the Premier League, admits Pochettino|
|Championship Review: Ten-man Sunderland hold Wolves, Adkins starts with a win|
|Home win ´has to be a springboard´ for Swansea - Clement|
|Newcastle United 2 Leicester City 3: Perez misery heightens Benitez woes|
|Fifty and counting - Kane brings up his half-century in style|
|Zidane: I warned you about Ronaldo!|
|West Ham spirit key to Chelsea win – Moyes|
|Bosz braced for the boot as Dortmund lose again|
|Watford boss Silva slams ´harsh´ Zeegelaar dismissal|
|Nacho revels in Real Madrid´s Sevilla thrashing|
|Hard-earned Frankfurt victory pleases Bayern boss Heynckes|
|Al Jazira 1 Urawa Reds 0: Mabkhout books Real Madrid clash|
|Spurs on fire, beams goal-hungry Kane|
|Ulreich doubtful for Cologne clash|
|Wagner praises ´brave´ Huddersfield after returning to winning ways|
|Hodgson slams Benteke after penalty miss sends Palace bottom|
|Schmelzer slams ´joke´ Dortmund performance|
|Paris Saint-Germain 3 Lille 1: Emery´s December blues eased|
|Aubameyang becomes Bundesliga´s record African goalscorer|
|Swansea City 1 West Brom 0: Bony lifts Swans off the bottom|
|Real Madrid 5 Sevilla 0: Ronaldo leads blistering Bernabeu rout|
|Crystal Palace 2 Bournemouth 2: Begovic denies Benteke in stoppage time after Defoe´s double|
|Burnley 1 Watford 0: High-flying Clarets back to winning ways as Arfield returns in style|
|The best are at Barcelona, starting with Messi – Valverde rejects Ronaldo claim|
|Tottenham 5 Stoke City 1: Kane at the double to pile pain on Potters|
|Huddersfield Town 2 Brighton and Hove Albion 0: Mounie double helps Wagner´s men end slump|
|Eintracht Frankfurt 0 Bayern Munich 1: Vidal strikes again as goalkeeper crisis deepens|
|Borussia Dortmund 1 Werder Bremen 2: Defeat leaves Bosz on the brink|
|Conte accepts title ´impossible´ for Chelsea after West Ham loss|
|Pachuca 1 Wydad Casablanca 0 (after extra time): Guzman sets up Gremio showdown|
|Everton heading in the right direction - Sigurdsson ready for derby debut|
|Chelsea ´miles´ from their best, concedes Cahill|
|West Ham 1 Chelsea 0: Arnautovic gives Moyes first win as Hammers boss|
|Fornals to miss Barcelona game after fainting in training|
|A-League Review: The force is strong with Sydney FC|
|Hart dropped by West Ham for Chelsea clash|
|Guardiola´s Manchester City head to United a team transformed|
|Wenger admits to frank talks with Arsenal players after United loss|
|Racing criticise Atletico Madrid over unauthorised Martinez medical|
|Musonda handed new four-and-a-half-year Chelsea deal|
|United still Manchester´s top side ahead of City, says Giggs|
|Wantaway Barca veteran Mascherano ´too old´ for Tianjin Quanjian|
|Ederson: Man City eyeing nothing less than derby glory|
|Chelsea´s Kante should win Ballon d´Or, says Conte|
|Salinas: Ronaldo not among best ever and doesn´t deserve Ballon d´Or awards|
|Milinkovic-Savic not for sale at any price amid Man United links, insists agent|
|Giggs interested in Wales job|