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.
|Wenger criticism baffles Redknapp|
|Leicester must strengthen in window - Walsh|
|United not title contenders - Docherty|
|Koeman: Southampton youngsters will get a chance|
|Dyche empathises with Liverpool striker crisis|
|Cagliari turn to Zola|
|Rooney thanks Van Gaal for Christmas break|
|Cruzeiro offer Paulinho Tottenham exit chance|
|Carlisle´s wife grateful to Burnley|
|Katebe called up to Zambia AFCON squad|
|Cape Verde name AFCON squad|
|Finke names much-changed Cameroon squad|
|Grant omits World Cup troublemakers for AFCON|
|Blackpool striker Ranger goes AWOL|
|Allardyce relishing Mourinho meeting|
|Ashley fails to increase Rangers stake|
|Crystal Palace v Southampton: Koeman calls for focus|
|Warnock targeting striker in January|
|Chelsea v West Ham: Adrian vows visitors will attack|
|Heskey signs short-term deal at Bolton|
|Everton v Stoke City: Martinez eyes strong form|
|Juninho defends David Luiz|
|Burnley v Liverpool: Dyche defends Rodgers ahead of Turf Moor test|
|Arsenal v QPR: Wenger eyes festive momentum|
|Liverpool are growing in confidence, says Rodgers|
|Redknapp: Austin future could depend on survival|
|Martinez wants Everton consistency|
|Barca want Neymar until 2020, says agent|
|Jones undeterred by pressure of Liverpool starting role|
|Allardyce ´knows how to beat managers´ - Carroll|
|Jones playing for a new contract|
|China select Evergrande spine for Asian Cup|
|A-League Preview: Koren tips City to build|
|Khedira keen to fight for Real spot|
|Southampton confirm Elia deal|
|Cellino to remain as Leeds owner until after appeal|
|Manchester United v Newcastle United: Van Gaal demands domination|
|Van Gaal refuses to dismiss Bale speculation|
|Sunderland v Hull City: Bruce sure of Hull revival|
|Swansea City v Aston Villa: Lambert optimistic of away success|
|Agbonlahor red rescinded|
|Falcao depends on team-mates to perform - Van Gaal|
|Monk dismisses talk of Gomis move|
|West Brom v Manchester City: Pellegrini to experiment again|
|Xavi: I was ready for New York switch|
|Ibrahimovic fumes at awards snub|
|Irvine: No approaches for Berahino|
|Pearson determined to revive Leicester fortunes|
|League Two Preview: First host third as Wycombe meet Luton|
|League One Preview: Buoyant MK Dons eye more glory, Bristol City seek response|
|Championship Preview: Pritchard plotting to end Ipswich run, Bournemouth host Fulham|
|Kaboul place not guaranteed by captaincy - Pochettino|
|Koeman hopeful of Elia deal|
|Atletico president not ruling out Torres return|
|Swansea secure Oliveira signing|
|No excuses for Pellegrini|
|Walcott pace unaffected by injury|
|Former Real Madrid star Roberto Carlos backs Ronaldo for Ballon d´Or|
|Former PFA chairman Carlisle ´stable´ after serious incident|
|Balotelli remorse saved him from longer ban|
|Bayern midfielder Martinez ´on track´ with rehab|
|Pardew ´overjoyed´ at Gutierrez return|
|Spurs confirm Yedlin to join in January|
|Zeman sacked by Cagliari|
|Casillas: I´m going nowhere|
|Bruce demands McShane apology|
|Pulis would welcome Brighton talks|
|Buffon: Juve angry after Supercoppa loss|
|Arteta out until new year|
|Rangnick: Kampl deserves Dortmund switch|
|PFA offers support to Carlisle after serious incident|
|Napoli can mount title bid - Higuain|
|Cech´s agent urges Liverpool and Arsenal to make bid|
|Hart happy to be back to his best|
|Terry thrilled with ´revelation´ Matic|
|Perez rues ´unfair´ Tyne-Wear derby result|
|Khalfan Ibrahim returns from injury|
|Magath slams ´sensitive´ Fulham|
|´Limited´ attacking options inspire Postecoglou´s selections|
|Carlisle reportedly involved in serious incident|
|Primeira Liga Review: Braga leapfrog Guimaraes|
|Hughes upbeat despite Stoke defeat|