Swansea ensured their place in the last 32 of the UEFA Europa League, despite a 1-0 defeat away to St Gallen on Thursday.
Michael Laudrup's men went into their final Group A encounter knowing that a draw would be enough to see them progress to the knockout stages.
Even with a slip-up, only a three-goal swing and a victory for Kuban Krasnodar over Valencia would have been enough to see the Welsh club eliminated from the competition.
St Gallen - playing for nothing more than pride - struck the winner 10 minutes from time, as Marco Mathys found the net from close range.
Swansea could not respond, but the result was made immaterial by Valencia's 1-1 draw with Kuban in Spain.
Wilfried Bony returned from his hamstring injury to solve Laudrup’s striker problems, the Ivorian coming in as part of six changes made by the visitors from their 1-1 draw against Hull City, with Wayne Routledge and Alejandro Pozuelo also included.
St Gallen, meanwhile, made just one alteration from their 2-0 win over Sion, Marcel Herzog replacing Daniel Lopar in goal.
Swansea were the first to have an effort on goal after eight minutes as Roland Lamah curled wide of the post from the edge of the area.
But having survived that scare, the hosts were dealt a blow shortly afterwards when striker Goran Karanovic - who has 12 goals to his name in all competitions this season - was replaced by Alhassane Keita after suffering a hamstring injury.
Chances proved few and far between for the rest of the first half, with the two sides reduced to speculative efforts from long range.
However, Swansea perhaps should have taken the lead after 32 minutes when Lamah found space on the edge of the penalty area only to fire narrowly off target.
Bony went close immediately after the half-time interval, but they had goalkeeper Gerhard Tremmel to thank for keeping them on level terms a few moments later as he produced a fine save to deny Mathys.
And the German was forced into action shortly before the hour mark to keep out Roberto Rodriguez's effort after the winger had beaten the Swansea offside trap.
Fortune favoured Swansea for much of the second half, with only the woodwork preventing Sebastien Wuthrich's free-kick from finding the net.
Defender Chico Flores went off with an injury for Swansea shortly after that scare, and their defence looked to have finally been breached when Neil Taylor bundled the ball into his own net under pressure, however, the goal was ruled out for a push by Wuthrich.
Swansea's defensive efforts became more desperate in the closing stages, Jose Canas clearing a Mathys header off the line, but the Swiss club finally snatched a deserved victory when the same player volleyed home Wuthrich's left-wing cross.
A tense finale followed for Swansea, but as news of Kuban's draw in Valencia filtered through, their progress was confirmed.
|Coach: J. Saibene|
for G. Karanović 13'
for R. Rodriguez 59'
for M. Mathys 88'
|Vitoria Guimaraes 3 Penafiel 0: Mensah brace inspires victory|
|Blanc has no worries despite Evian stalemate|
|Bayern Munich 2 Wolfsburg 1:Pep´s men kick off with a win|
|Heracles 0 Cambuur 1: Last-gasp defeat for pointless Heracles|
|Evian 0 Paris Saint-Germain 0: Cabaye sees red as champions frustrated|
|Al Hilal Omdurman 2 Zamalek 1: Al Madina ensures hosts of victory|
|McLeish returns to management with Genk|
|Mackay defends Bevan over controversy|
|Milan dealt blow in search for Balotelli replacement|
|Sunderland v Manchester United: Van Persie returns in much-needed boost|
|Depay agrees PSV contract extension|
|Barcelona v Elche: Confidence flows as Luis Enrique era dawns|
|N´Diaye leaves Sunderland for Betis|
|Dortmund can challenge Bayern - Hitzfeld|
|Van Gaal ´enchanted´ by Rojo|
|Tottenham v QPR: Redknapp returns to White Hart Lane|
|Hughes unaware of Palacios interest|
|Hull City v Stoke City: Visitors keen to spoil party|
|Hannover seal Briand deal|
|Emery braced for Fazio departure|
|Rodgers coy on Balotelli speculation|
|Xavi out to feel ´useful´ at Barca|
|Cardiff call for Bevan resignation|
|Mourinho: Club takes priority over players|
|Pellegrini ready for crucial Liverpool clash|
|Retirement not on Buffon´s radar|
|Swansea loan Carroll from Spurs|
|Taylor wants Liberty to become a fortress|
|Celtic enter Scepovic race|
|Samaras signs two-year deal at Albion|
|We cannot be complacent - Marcelino|
|Redknapp: Mackay should get second chance|
|LMA apologise for initial Mackay statement|
|Neymar a doubt for Elche clash|
|Alves confident of Enrique evolution|
|Ferdinand dreaming of England job|
|European and EPL clubs circling for Jets|
|Millen ready to lead Palace recruitment|
|Wenger: Wilshere should ignore critics|
|CONCACAF Champions League Review: Herediano start strongly|
|Lambert excited by ´big asset´ Cole|
|Copa Sudamericana Review: Barcelona, Deportivo Capiata in the box seat|
|Brazilian Serie A Review: Luciano inspires Corinthians, Cruzeiro extend lead|
|Blanc: Di Maria transfer difficult|
|Klopp eager to deny Leverkusen|
|Blanc optimistic over Ibrahimovic fitness|
|Tiote will stay - Pardew|
|Bruce laments ´stupid´ McGregor mistake|
|UEFA Europa League Review: Tottenham in late turnaround, Astra shock Lyon|
|League Two Preview: Morecambe, Burton out to continue fast starts|
|Sassuolo 4 Cittadella 1: Second-half rally sees Sassuolo into Coppa fourth round|
|Howard to take US sabbatical|
|Lokeren 1 Hull City 0: McGregor error gifts Belgians victory|
|Rwanda given Wednesday hearing for disqualification appeal|
|Pochettino hails substitutes´ impact|
|Mackay apologises over text message scandal|
|Brandao suspended over Motta incident|
|Borussia Dortmund v Bayer Leverkusen: Klopp expecting tough start|
|QPR complete loan deal for Vargas|
|League One Preview: Fleetwood, Preston face home tests|
|Chelsea v Leicester City: Schurrle expecting Chelsea improvement|
|Southampton v West Brom: Koeman wary of Albion|
|AEL 1 Tottenham 2: Late turnaround gives visitors play-off edge|
|CAF Confederation Cup: Al Ahly, Nkana out to reach last four|
|Swansea City v Burnley: Monk expecting stern examination|
|Bender close to Leverkusen return|
|Morocco will host Club World Cup despite Ebola concerns - FIFA|
|Schneiderlin not allowed to leave, insists Koeman|
|Dyche confident Burnley can strengthen|
|West Brom eye Samaras signing|
|Aston Villa v Newcastle United: Lambert wants more Weimann goals|
|MLS Preview: Sounders look to bounce back at Portland, Johnson banned for DC|
|Klose eyes European football|
|Monk warns Swansea over complacency|
|De Jong set for Newcastle return|
|Crystal Palace v West Ham: No excuses from Millen|
|Pearson looking for Chelsea indication|
|Blanc wants Rabiot to stay|
|Bowyer reveals Hull approach for Rhodes|
|Atletico out to gatecrash Barca, Real party once again|
|Barcelona go back to the future|
|CSL Preview: Beijing Guoan, Dalian Aerbin hit the road|
|Westwood returns to Ireland squad|
|Millen confident on Palace job prospects|
|Pedro struck down by gastroenteritis|
|Championship Preview: Magath preaches patience, Ipswich host East Anglian derby|
|Ribery not ready for Bayern return - Guardiola|
|Ancelotti: Di Maria has asked to leave|
|Moody resigns from Palace post|
|Everton v Arsenal: Martinez denies Everton have advantage|
|Coventry agree Ricoh return|
|Allardyce eyes defensive improvements|
|FA to investigate Cardiff dossier|
|Simeone not expecting to retain title|
|Balotelli bids farewell to Milan team-mates|
|Wenger open to signings after Arteta blow|
|Martinez to wait on Kone, Oviedo before considering late signings|
|Ocampos believes in Jardim´s methods|
|Villas-Boas calls for Zenit focus|
|Jovetic predicts bright future at City|
|Hamren hoping for quick Ibrahimovic recovery|
|Van Gaal retains focus on team ethic|
|Martinez calls for Everton consistency|
|Oxlade-Chamberlain: Arsenal´s best will come|
|Benaglio retires from Swiss duty|
|MLS Review: Galaxy stun Rapids, Sounders held|
|CONCACAF Champions League Review: MLS clubs shine|
|Panama 4 Cuba 0: Hosts finally win|
|K. League Preview: In-form Jeonbuk out to increase advantage|
|Copa Sudamericana Review: Penarol poised to advance, General Diaz on track|
|Liga MX Preview: America target another win|
|J.League Preview: In-form Kashima, Tokyo face tests|
|Fresh faces in Australia squad|
|Copa Argentina Review: River Plate, Estudiantes des Caseros reach quarters|
|Girard rues wasteful Lille|
|Scholes: ´I am scared for United´|
|Patient Inter got just rewards - Mazzarri|
|UEFA Europa League Review: Inter win in Iceland|