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'
|Wenger laments lack of confidence|
|Pardew urges Newcastle to ´challenge´ Champions League hopefuls|
|Chicago Fire 2 Houston Dynamo 1: Hosts give Pause fitting farewell|
|Falcao better at United - Filipe Luis|
|Blanc: I told you so|
|Crystal Palace to be sold - reports|
|Van Gaal backs ´unlucky´ Van Persie|
|Vitoria Setubal 0 Vitoria Guimaraes 1: Afonso´s goal enough|
|Delph sidelined for 2014|
|Carrick: I want to give Van Gaal selection headache|
|Aberdeen 1 Motherwell 0: Hayes strike enough to sink lowly visitors|
|Fulham 3 Charlton Athletic 0: Parker and Rodallega move Fulham out of drop zone|
|Celta Vigo 3 Levante 0: Alcaraz defeated in first game in charge|
|Toulouse 0 Lens 2: Visitors escape drop zone|
|Werder Bremen 0 Cologne 1: Ujah adds to bottom club´s woes|
|ADO Den Haag 2 Dordrecht 0: Kramer on target again|
|Possession key for Luis Enrique|
|FA charge Gillingham with ´race victimisation´|
|Poyet issues Sunderland rallying cry|
|Ancelotti ready to spring Clasico surprise|
|Suarez receiving help for biting ´impulse´|
|Tottenham v Newcastle United: Confident visitors look for White Hart Lane repeat|
|Manchester United v Chelsea: Van Gaal expecting Costa to play|
|Guardiola: Upcoming run crucial|
|UEFA investigate Daugavpils over match-fixing after arrests|
|Pires ´hit in face´ by opposition coach - Zico|
|Di Maria declared fit for Chelsea test|
|Burnley v Everton: Dyche relying on mental toughness|
|Milan v Fiorentina: Poli awaits crucial test|
|Serbia to appeal UEFA decision|
|Cesena v Inter: Milan club out to end tumultuous week|
|Bayern mauling changes nothing, says Garcia|
|Getafe v Atletico Madrid: Griezmann hopes to kick on|
|Cisse a doubt for Tottenham clash|
|Ferdinand plans to retire at end of season|
|Martinez pleased with stronger defensive displays|
|League One Preview: Crewe out to exit bottom four|
|Aguero not yet at his best, warns Pellegrini|
|AS Vita v ES Setif: Ibenge´s men seek to end 41-year wait|
|Juventus v Palermo: Buffon expecting response|
|League Two Preview: Life under Murray begins for Hartlepool|
|Villa have Cleverley option - Lambert|
|Costa has a ´little chance´ for United clash, says Mourinho|
|Brisbane Roar 0 Sydney 2: Janko scores wonder goal|
|Borussia Monchengladbach v Bayern Munich: Benatia calls for focus|
|Busquets available for El Clasico|
|Jones calls on United to attack|
|Coutinho vows to improve|
|Suarez not a factor - Ancelotti|
|Bruce wary of Balotelli backlash|
|Pogba extends Juve deal|
|Serbia awarded Albania walkover but deducted three points|
|Walcott to make comeback against Burnley|
|Robben lauds ´perfect´ life at Bayern|
|Vieira: Chelsea can better Arsenal´s ´Invincibles´ mark|
|No fracture for Bender - Klopp|
|Pepe a doubt for El Clasico|
|Allardyce: Carroll two or three weeks from return|
|Defoe unsure of future|
|CONCACAF Champions League Review: Saprissa overhaul Kansas City|
|Liga del Futbol Profesional Boliviano Review: Comeback win sends Oriente Petrolero second|
|Deportivo Capiata 0 Boca Juniors 1 (agg 1-1, 4-3 on penalties): Argentines reach quarters|
|Herediano 5 Perez Zeledon 1: Hosts cruise to victory|
|Liga MX Preview: Queretaro desperate to keep play-off hopes alive|
|First-half profligacy could have cost us - Favre|
|Lille will beat Everton next time - Enyeama|
|Montella pleased with Fiorentina response|
|Benitez blames lack of ´desire´|
|Dunga plays down captaincy controversy|
|Mazzarri declares ´emergency´ at Inter|
|UEFA Europa League Review: Kane, Lamela run riot for Spurs|
|Hat-trick hero Kane vows to stick to day job|
|Tottenham 5 Asteras Tripolis 1: Kane hits hat-trick in easy win|
|Inter 0 Saint-Etienne 0: Mazzarri´s men held in goalless stalemate|
|Martinez laments pitch after draw|
|Eredivisie Preview: Feyenoord revival to be tested|
|Lille 0 Everton 0: Defences on top in France|
|Arabian Gulf League Review: Al Wahda see lead cut after six-goal thriller|
|Moratti resigns from Inter role|
|Murray appointed Hartlepool boss|
|Swansea City v Leicester City: Monk focused amid Moses row|
|Southampton v Stoke City: Koeman issues Southampton warning|
|Valdes to train with Manchester United|
|West Brom v Crystal Palace: Irvine wants to maintain intensity|
|Thiago surgery a success|
|Monk stands by Moses remarks|
|Whelan out for four to six weeks|
|Iniesta buoyed by Suarez availability|
|Koeman: Southampton no longer a surprise package|
|Liverpool v Hull City: Rodgers desperate to improve defensive record|
|Sunderland v Arsenal: O´Shea eager to make amends|
|Belgium break new ground in FIFA rankings|
|Paris Saint-Germain v Bordeaux: Silva calls for more|
|Borussia Dortmund v Hannover: Hosts hopeful Turkey win is turning point|
|Rodgers tight-lipped on Balotelli talk|
|Sporting call for Schalke replay|
|Serie A Preview: Roma out to repay fans|
|La Liga Preview: Real host Barca in El Clasico, Sevilla face Villarreal|
|West Ham v Manchester City: Allardyce feeling confident as champions come to town|
|Ligue 1 Preview: Marseille face Lyon test, PSG battle Bordeaux|
|Western Sydney Wanderers v Al Hilal: A-League side eye clean sheet|
|Real Madrid v Barcelona: Suarez set for El Clasico bow|
|Simeone encouraged by Griezmann form|
|Sunderland sign Reveillere|
|Bundesliga Preview: Bayern hit the road for top-of-the-table clash|
|Suarez ready for El Clasico introduction|
|CSL Preview: Guangzhou look to clinch title as relegation fight intensifies|
|K.League Preview: Jeonbuk Motors and Suwon Bluewings in top-of-the table clash|
|Allardyce remains calm over new contract|
|FA contact Monk over post-match comments|
|Warnock charged by FA|
|Abate eager to see out career at Milan|
|Allegri expects Juve to progress|
|Onuoha in race to face Villa|
|Ronaldo baffled by El Clasico scheduling|
|Zaluska fine for Astra clash - Deila|
|Pochettino sets sights on trophy within two years|
|J.League Preview: Gamba not giving up|
|Lambert: Cole starting to make an impact|
|CONCACAF Champions League Review: Pachuca miss out on top seeding|
|Peruvian Primera Division Review: Clasico triumph sends Alianza top|
|Real Salt Lake 2 Chivas USA 0: RSL leapfrog Dallas|
|Copa Sudamericana Review: River, Estudiantes to meet in quarters|
|Brazilian Serie A Review: Corinthians rise in the standings|
|Ecuadorian Primera A Review: Independiente del Valle, Emelec win again|
|Marcelinho: ´Why can´t we go through?´|
|Sousa ´proud´ despite defeat|
|Galatasaray brush off continental defeat|
|Copa Argentina Review: Atletico Rafaela complete last four|
|Olympiacos president thrilled with ´flawless´ win|
|Anderlecht deserved to win - Hasi|
|Villas-Boas eyes Zenit Champions League riposte|
|Koke wants more after starring in Atletico rout|
|Ancelotti pleased to see Real hit top gear|
|Bender pleased with Leverkusen effort|