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.
|Pellegrini: Sterling will justify price tag|
|Cavani hit with two-match Uruguay ban|
|Bonucci to remain at Juve until 2020|
|No bids for Berahino - West Brom|
|Putin: Blatter deserves a Nobel prize|
|Howe: Swansea a benchmark for Bournemouth|
|New Parma to play in Serie D|
|Mata vows to hit the goal trail at United|
|Drogba ´perfect fit´ for Montreal|
|Berahino ´not yet´ ready for Tottenham - Irvine|
|Romero lauds caring Van Gaal|
|Jese flying at Real under Rafa|
|Sampdoria unwilling to pay €10m for Balotelli|
|Mourinho talks up Arsenal title chances|
|Hull sign Ryan Taylor, Sam Clucas|
|Kane, Pochettino hail MLS All-Star test|
|Di Santo sorry for swift Werder departure|
|Mourinho tells Ronaldo: Team honours come first|
|Khedira returns to Juve training|
|Celtic v Qarabag: Champions League return of utmost importance, says Collins|
|Pellegrini: Jovetic had to go|
|Manquillo completes Marseille move|
|Schalke reject Juve´s Draxler bid|
|Blanc: Di Maria deal ´close´|
|Di Santo debut ends in stalemate|
|Fire sign Drogba, trade him to Montreal Impact|
|FIFA and UEFA welcome ruling on third-party ownership|
|Juve kick off title defence against Udinese|
|Stoke sign free agent Afellay|
|Benitez confident Ramos will stay|
|Fenerbahce issue warning to fans|
|UEFA Champions League Preview: De Boer confident Ajax are ready for Vienna test|
|Bility: I am the favourite for FIFA presidency|
|Pienaar to miss start of season|
|Vietnam 1 Manchester City 8: Sterling shines as tourists run riot|
|All-Star Keane relishing Spurs clash|
|Shaun Wright-Phillips joins brother Bradley at Red Bulls|
|Inter 0 Real Madrid 3: Rodriguez stunner caps comfortable win|
|Villa sign Ayew|
|Watford complete Berghuis transfer|
|Robben returns to Bayern training|
|Pulis anxious to make West Brom additions|
|David Luiz eager to welcome ´fantastic´ Di Maria|
|Fernando injury free ahead of new campaign|
|Hummels blames weight issues for poor season|
|Defoe hoping for early Sunderland goals|
|Depay hints at identity of ´surprise´ United striker|
|Tigres UANL v River Plate: Hosts look to bounce back and make history|
|Crespo set for Villa move|
|Terry: I would never join a Premier League rival|
|Van Gaal coy on United future|
|Romero to cover potential De Gea exit - Van Gaal|
|Uruguay win men´s football gold at Pan Am Games|
|Pirlo thanks New York City fans for ´beautiful´ welcome|
|Mexico capitalised on ´the mistakes we made´ - Schafer|
|Herrera delighted with Mexico display|
|MLS Review: Whitecaps build happy home, Pirlo debuts|
|Guardado wins Golden Ball at Gold Cup|
|NZF confirms Olympics disqualification appeal|
|Jamaica 1 Mexico 3: CONCACAF giants complete form turnaround|
|New York Red Bulls 2 Benfica 1: Another scalp for MLS side|
|Romero signs with United|
|Moghreb Tetouan 1 Al Hilal Omdurman 1: Visitors go top|
|Van Gaal rules out Ronaldo bid|
|Pique open to Barca captaincy|
|Pirlo makes MLS bow in thrilling NYC victory|
|Coutinho and Can return for Liverpool U21s|
|Walcott deal ´closer´, says Wenger|
|Arsenal 1 Wolfsburg 0: Walcott the match-winner in Emirates Cup finale|
|Di Santo links up with Schalke squad|
|Lukaku treble sinks Hearts|
|Benitez again refutes Ronaldo rift rumours|
|Pepe sure Ramos will stay at Real|
|City target De Bruyne named Germany´s Player of the Year|
|Montero spoils McCarthy´s Palace debut|
|Lyon 0 Villarreal 2: Soriano, Baptistao seal comfortable win in Emirates Cup|
|Wijnaldum on target as Newcastle are held|
|Mourinho: Rivals trying to buy the title|
|Jovetic set for Inter medical|
|RFS in ´denial´ over racism issue, claims Football Against Racism in Europe|
|Salah not staying at Chelsea - Mourinho|
|Mbemba closes in on Newcastle switch|
|Ibrahimovic: Di Maria will take PSG to another level|
|Delph: Don´t compare me to Pogba|
|Dundee United sign Sneijder|
|Morata relishing new-look Juve strikeforce|
|Strachan "not scared" of England after World Cup qualifying draw|
|Brazil claim football, basketball, handball gold in Toronto|
|Lampard´s debut delayed again, Pirlo ready to play|
|Mourinho open to Premier League matches in US|
|MLS Review: Texas unites to hurt Galaxy|
|Luis Enrique: United can emulate Barca revival|
|Van Gaal singles out Januzaj, hails United´s forwards|
|Blanc still hopeful PSG will sign Di Maria|
|Irish international Cunningham seeks Bristol City exit|
|Italy embracing Spain challenge in World Cup qualifying|
|Dos Santos brothers in doubt for Gold Cup final|
|PSG 1 Chelsea 1 (aet, 5-6 on penalties): Courtois clinches victory for Mourinho´s men|
|United States 1 Panama 1 (aet, 2-3 on penalties): Mejia denies hosts third|
|ES Setif 1 Al Merreikh 1: Sudanese deny title-holders at home|
|CONCACAF admit referee errors in Gold Cup semi-final|
|Dutch favourites in Group A - Deschamps|
|Barcelona 1 Manchester United 3: Rooney, Lingard and Januzaj maintain winning start|