And a 1-0 win for Maribor was enough to beat Hapoel Beer Sheva on away goals

Basaksehir hit the post in injury time when a goal would have put them through

La Liga side drew 2-2 with Istanbul Basaksehir, going through 4-3 on aggregate

Sevilla came close to an away-goals loss but they snuck into the group stage

Sevilla survived a major scare before booking their spot in the Champions League group stages by edging out Istanbul Basaksehir 4-3 on aggregate in their play-off qualifier.

The La Liga side held a slender 2-1 advantage from the first leg in Turkey but were pulled back by Eljero Elia's first-half opener.

Goals after the interval from Sergio Escudero and Wissam Ben Yedder seemed to settle any nerves in the Ramon Sanchez Pizjuan but Edin Visca pulled one back before Emre Belozoglu cracked the post in injury-time.

Wissam Ben Yedder was on the scoresheet as Sevilla squeezed past Istanbul Basaksehir

Had the former Inter Milan midfielder found the back of the net then it would have been Abdullah Avci's men progressing via away goals.

Oddly enough, the first three goalscorers in Andalusia were also on target in Istanbul, starting with former Dutch international winger Elia, who slid home from Junior Caicara's dangerous low ball into the box after 17 minutes.

Up until then Sevilla had been on top but the visitors, surprise runners-up to Besiktas last season and with former Arsenal and Tottenham striker Emmanuel Adebayor in their ranks, were able to keep their noses in front until half-time.

But any nerves from Sevilla subsided when they levelled seven minutes after the restart as Escudero headed home from Jesus Navas' inviting cross to the far post.

Ben Yedder then gave the hosts a two-goal cushion with a quarter of an hour remaining when he slammed past Volkan Babacan from a narrow angle, a goal which would prove decisive after late drama in southern Spain.

Basaksehir captain Emre Belozoglu almost sent his side through on away goals but hit the post

Visca was able to take advantage of a crucial deflection as he smashed into the net in the 83rd minute before Emre's curling free-kick in injury time came back off the post, much to the relief of most fans inside the stadium.

Sevilla ultimately held on to guarantee their place in the group stages of Europe's elite club competition for a third straight season.

Also putting themselves in the pot for the draw in Monaco on Thursday were NK Maribor and Olympiacos.

Mitja Viler's 15th-minute strike was enough to send Maribor through on away goals, with a 1-0 victory on the night over Hapoel Beer-Sheva ensuring a 2-2 draw on aggregate.

Olympiacos defeated Rijeka 1-0 thanks to Marko Marin, whose first-half goal wrapped up a 3-1 aggregate win.