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.
|Vitoria Guimaraes 1 Sporting Braga 0: Valente header sinks visitors|
|Levante 2 Espanyol 2: Late Victor strike earns struggling hosts a point|
|Football League Review: Middlesbrough edge Norwich in promotion duel, Preston drop points again|
|Nantes 1 Marseille 0: Defensive gaffe leaves visitors´ title challenge in tatters|
|Cambuur 1 Excelsior 1: Record-breaker Ogbeche secures last-gasp draw|
|Eintracht Frankfurt 0 Borussia Monchengladbach 0: Favre´s men held in entertaining draw|
|Arabian Gulf League Review: Al Ain clinch title, Al Jazira humbled by local rivals Bani Yas|
|PSG welcome reduction to Ibrahimovic ban|
|Fournier anticipates improved derby showing from Lyon|
|Anti-Ashley fan protest could inspire Newcastle - Pochettino|
|Toure to stay at City - Pellegrini|
|Newcastle United v Tottenham: Carver pins hopes on Coloccini amid fan boycott plans|
|Manchester City v West Ham: Pellegrini calls for unity|
|Newport terminate Zebroski contract after conviction|
|El Ouriachi nears Stoke switch|
|Inter v Milan: Shaqiri upbeat ahead of first derby|
|Aston Villa v Liverpool: All eyes on Gerrard ahead of Wembley return|
|Sturridge to be given ´every possibility´ to get fit|
|Agbonlahor could make semi-final|
|Simeone: Forget about the Champions League|
|PSG captain Silva to miss Nice game|
|Pellegrini ´not hurt´ by Klopp speculation|
|Mourinho plays down United injury worries|
|A-League Review: Sydney, Phoenix keep hopes up in thrillers|
|Pellegrini fears Kompany´s season may be over|
|Costa in contention for Arsenal clash|
|Title possible but not logical for Van Gaal|
|Iniesta ruled out of Valencia visit|
|Van Gaal searching for answer to United injury ´puzzle´|
|Allardyce backs Koeman for managerial gong|
|Benzema to miss Malaga clash|
|Juventus v Lazio ´a Scudetto game´ - Allegri|
|Guardiola insists he is going nowhere|
|Bolasie worth £20million - Pardew|
|Newcastle fans to feed ducks during Spurs protest|
|Bayern confirm Muller-Wohlfahrt resignation|
|Balotelli most-targeted player for hate crimes on social media|
|Ancelotti: No calls from Manchester City|
|Pardew revels in ´a tremendous season´|
|Watzke hopes for swift Dortmund appointment|
|Atleti a different beast under Simeone, says Forlan|
|Di Maria suspension behind United resurgence, claims Scholes|
|Mertesacker hopes Klopp takes foreign challenge|
|Dyche demands diving answers|
|Skrtel ready for Benteke test|
|Mertesacker: Arsenal should manage Wembley pressure|
|Copa Libertadores Review: Wanderers advance, Palestino miss out|
|New York City 1 Philadelphia Union 1: Another late show frustrates hosts|
|Webb re-elected as CONCACAF president|
|Emery wary of Russia trip|
|Terry ´no chance´ of England return - Capello|
|Fatigue hurt us - Villas-Boas|
|Benitez praises ´spectacular´ Napoli|
|Brugge captain Simons accepts goalless draw|
|Boubacar targets Europa League glory after late leveller|
|Hamsik surprised by Napoli dominance|
|Sevilla 2 Zenit 1: Subs win it for Spaniards|
|Dynamo Kiev 1 Fiorentina 1: Super-sub Babacar saves visitors|
|Club Brugge 0 Dnipro 0: Honours even after absorbing first leg|
|Wolfsburg 1 Napoli 4: Benitez handed perfect birthday present|
|Muller-Wohlfahrt resigns Bayern role|
|Barcelona v Valencia: Leaders primed for stiff La Liga test|
|Fenerbahce win on return after bus attack|
|Ligue 1 to adopt goalline technology|
|Iniesta back in training despite bruising|
|Juventus v Lazio: Replicate Monaco win, urges Pirlo|
|Parma handed further points deduction|
|Wenger surprised by FA Cup scheduling|
|Leicester City v Swansea City: Survival is realistic, says Pearson|
|Everton v Burnley: Dyche wants to play with freedom|
|Ideye a concern for Palace clash|
|Crystal Palace v West Brom: Pulis not surprised by Palace form|
|Chelsea v Manchester United: Leaders attempt to go 10 points clear|
|Stoke City v Southampton: Koeman focused on points not records|
|Rodriguez could play in Southampton´s final game|
|Reading v Arsenal: Wenger talks of lessons learned ahead of FA Cup semi|
|Villa have to prioritise survival over Cup - Vassell|
|Nice v Paris-Saint Germain: Blanc draws a line under Barca defeat|
|Wijnaldum would welcome Van Gaal reunion|
|Championship Preview: Neil wants Carrow Road cauldron, Bournemouth face Wednesday|
|Arsenal defeat to Reading would be astonishing - McLintock|
|Monk flattered by West Ham link|
|Koeman: Clyne right to have Champions League ambition|
|Real Madrid v Malaga: Torres braced for challenging Bernabeu return|
|Oscar wary of United and insists title race is not over|
|Borussia Dortmund v Paderborn: Klopp rubbishes talk of ´farewell tour´|
|Kehl sidelined for two weeks with broken rib|
|Hoffenheim v Bayern Munich: Leaders urged to wake up after Euro defeat|
|Gisdol signs new Hoffenheim deal|
|Deportivo La Coruna v Atletico Madrid: Simeone´s men continue battle for third|
|Lahm plotting Bayern fightback|
|Oscar: Hazard the best in the Premier League|
|Rakitic eager to put on Camp Nou show|
|League Two Preview: Burton on the cusp of promotion|
|Wenger hopeful of Walcott stay|
|Oscar not seeking Chelsea exit|
|Martinez coy on Cleverley link|
|Gomis out for four weeks|
|MLS Preview: Kreis demands ´not so nice´ City|
|Serie A Preview: Abate motivated for Milan derby, Juve face Lazio in table-topping clash|
|League One Preview: Bristol City eye title|
|Bundesliga Preview: Klopp begins long goodbye, Hamburg turn to Labbadia|
|Lambert: Klopp may snub Premier League|
|Perth Glory CEO quits following disqualification|
|Copa Libertadores Review: The Strongest, Santa Fe enjoy wins|
|La Liga Preview: Valencia eye victory over Barca|
|Ligue 1 Preview: Marseille hopeful of top-three finish|
|United States 2 Mexico 0: Hosts scrap to win|
|A-League Preview: Victory close in on Premier´s Plate|
|Markevych: Dnipro can win the Europa League|
|United States 2-0 Mexico: Morris and Agudelo score as Americans scrap for win|
|Dynamo Kiev look for goals against Fiorentina|
|Injuries a concern for Preud´homme|
|Villas-Boas plays down injury worries|
|Benitez wanted Wolfsburg trio|
|Porto quality no surprise to Guardiola|
|Blanc counting on returning stars for second leg|
|Lopetegui issues warning after first-leg victory|