Coleraine produced a heroic performance to beat Slovenian side NK Maribor 5-4 on penalties after their Europa League qualifier ended 1-1 after extra-time.
Ben Doherty scored the winning penalty after Rudi Vancas Pozeg had missed from the spot for the hosts.
James McLaughlin had given the battling Irish Premiership side the lead with a low left-foot volley on 62 minutes.
Vancas Pozeg slotted home at the far post to level on 65 and Amir Dervisevic missed a penalty during extra-time.
The Irish League part-timers went into the first qualifying round tie as massive underdogs against the 15-times Slovenian champions, who have made the group stages of both the Champions League and the Europa League on three occasions.
However buoyed by winning their first game in the competition against La Fiorita last week, Coleraine were a match for their opponents throughout and ran out deserved winners for their skill, energy and industry.
Oran Kearney's side will now take their place in Monday's draw for the second qualifying round, alongside Linfield, to whom they finished runners-up in the Irish Premiership.

Both sides had scoring opportunities in the first half but the best chances fell to the hosts, Rok Kronaveter forcing Gareth Deane into a fine save from his free-kick from just outside the area.
Aleks Pihlet provided an inviting cross from the right which Aljosa Matko met at the far post but under pressure from Aaron Canning, his effort drifted wide.
More McLaughlin magic
McLaughlin, Coleraine's match-winning hero last week, produced another moment of magic to give the visitors the lead 17 minutes after the interval.
The striker caught a dropping ball 20 yards out and unleashed a stunning low left-foot strike which flew into the bottom corner of the net.
His side's lead proved shortlived, though, as a rare defensive lapse allowed Vancas Pozeg the simple task of firing in at the far post after Coleraine failed to cut out a cross from the right.
Deane produced another fine save to tip over Jasmine Mesanovic's drive and later made a fine stop from Alexandru Cretu.
Maribor passed up a glorious opportunity to win the match in the 104th minute when substitute Amir Dervisevic hammered his penalty against the bar after Aaron Traynor had brought down Martin Milec inside the area.
Both sides converted their first four penalties of the shootout, before Doherty drilled home the winning spot-kick after Pancas Vozeg had struck the post with his errant spot-kick.
Ian Parkhill, Lyndon Kane, Gareth McConnachie and Eoin Bradley were Coleraine's other successful penalty-takers as the club enjoyed one of the greatest results in their history and secured a further financial fillip.
Line-ups
NK Maribor
- 1Jug
- 6PihlerSubstituted forDervisevicat 102'minutes
- 22Milec
- 32Mitrovic
- 28Viler
- 55PericicBooked at 90mins
- 17MatkoSubstituted forPozeg Vancasat 61'minutes
- 27Mesanovic
- 8Cretu
- 7KronaveterSubstituted forMlakarat 84'minutes
- 97KramaricSubstituted forMorales Magno Tavaresat 61'minutes
Substitutes
- 2Klinar
- 9Morales Magno Tavares
- 10Pozeg Vancas
- 21Dervisevic
- 29Mlakar
- 33Handanovic
- 37Koblar
Coleraine
- 1DeaneBooked at 111mins
- 2KaneBooked at 64mins
- 18TraynorSubstituted forMcConaghieat 105'minutes
- 8Lowry
- 15O'Donnell
- 11Carson
- 6JarvisBooked at 59minsSubstituted forWilsonat 72'minutes
- 21NixonBooked at 20minsSubstituted forBradleyat 85'minutesBooked at 107mins
- 4CanningBooked at 18mins
- 7DohertyBooked at 33mins
- 9McLaughlinBooked at 67minsSubstituted forParkhillat 95'minutes
Substitutes
- 10Bradley
- 12Wilson
- 13McConaghie
- 14Tweed
- 16Parkhill
- 20Gallagher
- 23McGuckin
- Referee:
- Kai Steen