A pair of inspired substitutions from coach Ottmar Hitzfeld earned Switzerland a 2-1 comeback FIFA World Cup win over Ecuador in Group E.
The in-form Enner Valencia scored his fifth goal in the past five international appearances to give the South American team a 22nd-minute lead but Admir Mehmedi levelled three minutes after coming on as a half-time substitute.
Both those goals came about as a result of poor set-piece marking, but Switzerland took the points in dramatic fashion courtesy of a clinical counter-attack deep into injury time.
Mehmedi’s fellow replacement Haris Seferovic, who last netted for his club Real Sociedad in November, was on hand to convert Ricardo Rodriguez's low cross to spark wild celebrations from the Swiss.
Ecuador made high-tempo start, launching attack after attack during the opening minutes but the Switzerland defence stood firm.
Their lone striker, Josip Drmic, had a sight of goal in the 12th minute, only for Jorge Guagua to make a timely challenge as the Europeans found their feet.
Granit Xhaka and Xherdan Shaqiri tried their luck from outside the box - the latter's strike grasped at the second attempt by goalkeeper Alexander Dominguez, who then spilt a 19th-minute shot from full-back Rodriguez behind.
And so it was slightly against the run of play when Valencia headed home Walter Ayovi's pinpoint delivery as Switzerland's customary set-piece solidity deserted them.
Valencia has played a more forward role in the Ecuador team since the death of Christian Benitez last July and, as part of their celebrations, the Ecuador players pointed to the sky, apparently in tribute to their late team-mate.
Dominguez showed more assured handling when Valon Behrami headed Shaqiri's corner goalwards and the Ecuador goalkeeper then got a vital touch to send Gokhan Inler's low 36th-minute drive around the post.
Ecuador looked to extend their lead two minutes before the break but Johan Djourou made last-ditch block to deny Jefferson Montero after Felipe Caicedo had played the winger in.
Mehmedi was introduced at the resumption and Hitzfeld's decision to bolster his attack paid almost instant dividends.
Just as Switzerland's marking was found wanting for the game's opening goal, Ecuador allowed the Freiburg forward far too much room to head Rodriguez's corner into the net.
Both teams refused to take a backwards step following the equaliser, Valencia remaining heavily involved as he weaved inside to ripple to top of the netting with an hour played.
Ecuador's pace on the counter-attack became an increasing threat and Diego Benaglio made a fine save after his defenders backed off the rampaging Montero, while Drmic scrambled the ball home from an offside position at the other end with 20 minutes to go.
Shaqiri drilled into the side netting with team-mates well placed inside him, while Valencia almost capitalised on a rush of blood from Benaglio, but the goalkeeper was let off the hook.
Ecuador sub Michael Arroyo erred in delaying his shot in stoppage time, allowing Switzerland to break and after Behrami had made a superb tackle to set them away, Seferovic made no such mistake when he fired home the winner with virtually the last kick.
Switzerland must tackle France in Salvador on Friday, while Honduras are next up for Ecuador later on the same day in Curitiba.
|Montella calls for courage against Genoa|
|Championship Review: Wolves stay top as Terry scores for Villa|
|One of my proudest moments – Wagner revels in Manchester United win|
|Damage was done in the first half, admits Hughes|
|Conte will ´never´ fear the Chelsea sack|
|Herrera questions Manchester United´s ´passion´|
|Benitez impressed by Newcastle´s perseverance after narrow win|
|Monaco 2 Caen 0: Keita opens account as hosts get back on track|
|A bad team deserves punishment – Mourinho blasts Manchester United display|
|Zidane rejects tag of ´world´s best coach´|
|Stoke City 1 Bournemouth 2: Howe´s men pick up first away points|
|Swansea City 1 Leicester City 2: Mahrez shines as Appleton enjoys winning start|
|Manchester City 3 Burnley 0: Aguero levels record as Guardiola´s men stretch lead|
|Newcastle 1 Crystal Palace 0: Merino leaves it late to sink Eagles|
|Huddersfield Town 2 Manchester United 1: Mourinho´s men suffer first defeat as Lindelof error proves|
|Eintracht Frankfurt 2 Borussia Dortmund 2: Bosz´s men stunned by comeback|
|Immobile, Strakosha pen Lazio extensions|
|Conte hails Chelsea´s ´desire to fight´ for Watford comeback|
|Aguero becomes joint-top scorer in Manchester City history|
|Chelsea hero Batshuayi relieved to end ´difficult moment´ against Watford|
|Verratti admits he had doubts over PSG project|
|Bartomeu offers assurances over Barcelona´s LaLiga status|
|AC Milan will sell ´top players´ if they miss the Champions League|
|Chelsea 4 Watford 2: Batshuayi, Azpilicueta spare champions´ blushes|
|Darren Fletcher makes 100th consecutive Prermier League appearance|
|Carrasco´s attitude not a problem, says Simeone|
|Allegri happy to win ugly at Udinese|
|Barcelona approve €897million budget following record revenue in 2016-17|
|Lineker´s Benzema criticism embarrassing - Zidane hails Madrid striker as ´the best´|
|Bayern Munich announce record €640m turnover|
|A-League Review: Brillante completes comeback in thrilling Sydney derby|
|Bakayoko starts for Chelsea against Watford|
|Not many teams can stop us scoring – Smalling hits back after United criticism|
|Bakayoko: I´m not Chelsea´s new Matic|
|Manchester United fan Werner still dreams of Premier League move|
|Manchester City playing like Brazil, says Jesus|
|Mbappe, Dembele and Jesus named Golden Boy top three|
|Valverde: Barcelona couldn´t sign Mbappe|
|Kane: I´d love to spend whole career at Tottenham|
|Bolt wants to begin football career in 2018|
|What the f***? – Pochettino reveals Madrid selection questions|
|Mourinho plays down Conte spat|
|Liverpool must make Coutinho, Can want to stay – Klopp|
|Barcelona star Suarez granted rest by Uruguay|
|I don´t want to hide - Bilic takes responsibility for humbling West Ham defeat|
|´Magician´ Conte spells out willingness to fight at Chelsea|
|Otamendi and Stones making light of Kompany absence for Guardiola|
|West Ham 0 Brighton and Hove Albion 3: Murray double piles pressure back on Bilic|
|NBA icon Kobe Bryant meets Neymar and Mbappe on PSG visit|
|Dyche not ´running away´ from Burnley as Leicester links intensify|
|UEFA fails to fine Spartak over racist chants in Youth League game|
|Can committed to Liverpool despite contract impasse|
|Bernat steps up recovery for Bayern comeback|
|Higuain has ´nothing to prove´ despite latest Argentina snub|
|Suarez struggles no concern for Barca boss Valverde|
|Emery: Neymar needs time to become PSG´s Messi|
|Sarri could have been finance minister! - Spalletti marvels at Napoli boss´ rise|
|Douglas Costa secures Brazil recall for Japan and England friendlies|
|McTominay lands new Manchester United deal|
|Rose ready for Spurs return, but won´t start vs Liverpool|
|Koeman confident Everton signings will come good|
|Under-fire Burki lands new four-year Dortmund deal|
|Conte admits to Chelsea midfield crisis ahead of Watford clash|
|Sanchez and Ramsey boost Arsenal for Goodison trip|
|Mane still in rehab, but Klopp won´t block Senegal call-up|
|Mourinho has ´a feeling´ Ibrahimovic will be back in 2017|
|Conte dismisses Mourinho feud as ´a stupid issue´|
|Always Man City can do better - Guardiola challenges Premier League leaders|
|Klopp anticipating Spurs thriller after Man Utd snoozefest|
|Mawson and Daniels join Mata´s Common Goal|
|Hughes thankful for Stoke stability after ´emotional´ Premier League sackings|
|Bosz determined to turn around Dortmund slump|
|UEFA charge Everton after fans strike Lyon players|
|Adelaide United 2 Melbourne Victory 2: Austin pegs back United after Lia double|
|Real Madrid blow as Navas suffers thigh injury|
|Muller close to his old self again, says Heynckes|
|Everton ban fan involved in ugly Lyon scenes|
|Manchester City star De Bruyne wants trophies, not awards|
|UEFA charge Roma over alleged racist chanting at Chelsea match|
|Ibrahimovic tipped for December return by training partner Cole|
|Schweinsteiger ´open to everything´ as he nears end of Chicago Fire contract|
|Neymar confirmed wish to leave Barcelona at Messi´s wedding, says Xavi|
|De Bruyne: Man City, United fighting for title|
|Wilshere will get Premier League chance – Wenger|
|Giroud: I got lucky with Red Star winner|
|Montella urges fans to ´stand by´ Milan after San Siro boos|
|Koeman admits he could be sacked by Everton|
|Everton 1 Lyon 2: Koeman feeling the heat, while Williams brawl overshadows spectacle|
|AC Milan 0 AEK Athens 0: Frustration mounts for Montella in dour draw|
|Giroud promised special winner, Wenger reveals|
|Former Croatia striker Klasnic undergoes third kidney operation|
|Red Star Belgrade 0 Arsenal 1: Giroud´s special winner lights up drab encounter|
|Shakespeare: Leicester will ´pull away´ from Premier League danger|
|Robben yet to hold talks over new Bayern Munich contract|
|Bilic denies West Ham have discipline problem|
|Benteke progressing ´ahead of schedule´|
|Ancelotti to Leicester unlikely, says Clement|
|Dyche not aware of any approach amid Leicester speculation|
|I love you, take my watch! – How Arnautovic earned a special gift from Mourinho|
|´Surprised´ Appleton calls for Foxes focus after Shakespeare sacking|
|Brighton boss Hughton feels ´unacceptable´ behaviour remains in football|
|Benzema ´very happy´ at Real Madrid amid Arsenal rumours|
|Azpilicueta admits to low mood in Chelsea camp|
|Bacca: I played for the worst AC Milan in history|
|Aluko ´100 per cent´ in England contention, says interim boss|
|Injured Napoli striker Milik hints at loan move|
|Dortmund not expecting Reus exit|
|Neymar plans to emulate Messi by mentoring Mbappe|
|Mourinho still unclear on fitness of Pogba and Fellaini|
|Heynckes happy with Muller form|
|Kane describes Ronaldo as ´role model´ following shirt swap|
|PSG star Mbappe: Monaco need time|
|I have full support of Everton board, claims Koeman|
|Wilshere: Arsenal´s character can´t be questioned|
|No-one can compete with Messi – Bartomeu|
|Man United risk losing identity under Mourinho – Bellamy|
|Valverde hopes Messi scores 200th European goal this season|
|Stop worrying about Chelsea – Conte hits back at Mourinho|
|Roma better than Chelsea, says Nainggolan|
|Basel coach Wicky demands more focus|
|Heynckes calls for patience from Bayern´s reserve stars|
|Emery calls for PSG improvement despite perfect start|
|Pique handball instinctive, says Barcelona boss Valverde|
|Dzeko was born to score – Di Francesco|