Bayern Munich returned to the top of the Bundesliga table after they came from behind to defeat Mainz 4-1 at the Allianz Arena on Saturday.
The European champions' 33-game unbeaten run in the Bundesliga looked to be under threat when Shawn Parker gave Mainz a shock half-time lead.
But coach Pep Guardiola brought on midfielder Mario Gotze at half-time and the Germany international inspired a second-half fightback.
Gotze laid on goals for Arjen Robben and Mario Mandzukic, and Thomas Muller scored twice to ensure Bayern are now just two games away from levelling the Bundesliga's longest unbeaten run, held by Hamburg.
Bayern wingers Franck Ribery and Xherdan Shaqiri missed the match through ankle and hamstring injuries, while defender David Alaba dropped to the bench.
Robben, Mandzukic and Diego Contento came into Bayern's side, while Mainz made six changes to the team that drew with Hoffenheim before the international break, with goalkeeper Christian Wetklo the headline inclusion.
Mainz came into the match without a win in their last five, but they set about frustrating Bayern and showed some attacking threat, with Johannes Geis firing over the bar with his left foot in the 12th minute.
Bayern lost Brazil defender Dante to injury with half-time looming and they were stunned moments later, falling behind after Parker capitalised on a Jerome Boateng error.
The defender missed Julian Baumgartlinger's routine ball through the middle and Parker raced clear, rounding Bayern goalkeeper Manuel Neuer before slotting into an empty net.
Gotze entered the fray at the break in place of Rafinha and that proved to be an inspired move as the midfielder made an instant impact.
The former Borussia Dortmund man cut open the Mainz defence with a through ball to Robben just four minutes after the break and the Holland winger equalised with a measured left-foot finish inside the near post.
And Bayern were in front just two minutes later, with Robben turning provider on this occasion.
Robben laid the ball off to Muller and the Germany forward kept his composure, slotting past Wetklo from the centre of the penalty area.
Mainz were struggling to live with Guardiola's men and the home side gave themselves breathing space in the 69th minute, with Gotze the architect once again.
Gotze got to the byline and cut back for Mandzukic, with the Croatia striker shooting into the far corner, before Muller put the icing on the cake with eight minutes to play.
This time it was from the penalty spot, after Junior Diaz fouled Bastian Schweinsteiger, and Muller converted to cap off Bayern's excellent second half.
|25||T. Müller||52' 82'|
for Dante 43'
for Rafinha 46'
for M. Mandžukić 74'
|Sounders part ways with foundation coach Schmid|
|Mane turned down Manchester United for Liverpool|
|Zidane on Pogba: Until August 31, anything can happen|
|Mkhitaryan driven by father´s death|
|Inter rejected Napoli offer for Icardi, says president|
|Clichy: City fighting fit after Guardiola pizza ban|
|Everton and Burnley win as Hull are held|
|Ajax held by PAOK after Cillessen howler|
|Conte left frustrated by ´crazy´ money in transfer market|
|Neymar makes Barcelona case to Gabriel Jesus|
|Rostov comeback twice for Champions League draw with Anderlecht.|
|Arsenal defender Mertesacker set for lengthy lay-off|
|Conte not selling ´fantastic´ Matic|
|Ibrahimovic keen on MLS and Beckham´s Miami project|
|Neymar: I play for Messi, he´s the man|
|Barcelona reveal details of Andre Gomes deal|
|Suarez bullish over Barcelona prospects|
|Ajax claim Napoli keen on Milik to replace Higuain|
|Totti labels Higuain´s Juventus move ´a disaster´|
|Juventus confirm Higuain deal|
|Pato to Villarreal ´in the final stage´|
|PSG sign Lo Celso|
|Muller: Beating Dortmund will be more fun this season|
|Juventus sign Higuain from Napoli for €90m|
|Pastore: I´m like God in Paris|
|Injured Lanzini out of Olympics|
|Allegri unperturbed by Higuain fee|
|Menezes replaces Bento at Cruzeiro|
|Sporting rejected major bids from Inter and Liverpool for Joao Mario, claims father|
|Pochettino pleased by Tottenham despite Juventus defeat|
|Eriksson: Allardyce the right man for England|
|Mourinho makes United train after stepping off plane from China|
|Hazard can still match Messi, says Pedro|
|Pjanic shows there is life at Juve, with or without Pogba|
|Juventus 2 Tottenham 1: Benatia bags win for Serie A champions|
|Dembele: I am not the Bundesliga´s next superstar|
|Lyon claim €35m Arsenal offer for Lacazette rejected|
|Donnarumma dreaming of Milan captaincy as he eyes long-term stay|
|Robson: Ibrahimovic can match Van Persie´s first year at United|
|Rooney should remain England captain - Eriksson|
|Emery wants new striker at PSG|
|Santos accept Juventus bid for Gabriel|
|Eriksson expects Sweden to try and tempt Ibrahimovic out of retirement|
|Spurs signing Janssen almost quit|
|Leicester stay best for Mahrez - Ranieri|
|Allardyce to take Mourinho cue on Rooney|
|Ings ready to outdo big-money signings|
|Henderson optimistic over Liverpool campaign|
|Allardyce hardened to the challenge of England post|
|Barcelona announce record revenues for 2015-16|
|Moyes enjoys Sunderland win as Palace beat Colchester|
|Stoke complete Allen signing|
|Roma coach Spalletti warns suitors off Manolas|
|Cresswell out for up to four months with knee injury|
|Burnley fan banned by club for racist abuse|
|Dad won´t let me play at the Olympics - Larsson Sr pulls rank|
|Kostic joins Hamburg on five-year deal|
|Tevez: I´d turn down Chelsea and Napoli to stay at Boca|
|Mayoral inspired by Benzema for Wolfsburg stint|
|Allardyce straight into competitive action with England|
|Liverpool, Sevilla fined for Europa League final incidents|
|Barcelona seal Guillemenot signing as part of new Servette deal|
|Niersbach handed one-year ban over World Cup corruption|
|Chelsea and Everton ´still interested´ as Koulibaly eyes Napoli exit|
|´Still working hard´ - Balotelli trains with Liverpool kids|
|Winter breaks, long-ball football and the World Cup: Allardyce in his own words|
|Inter warn Napoli Icardi is not for sale|
|Zanetti wants Simeone back at Inter|
|Stoke snap up Sobhi|
|PSG tougher under Emery - Lucas Moura|
|Totti not ready for retirement - Pallotta|
|Confident Allardyce reveals plan for England success|
|Pochettino to discard three Tottenham players|
|Allardyce: Rooney must wait for captaincy decision|
|Aubameyang: I will only leave Dortmund for Real Madrid|
|Allegri silences questions on Pogba|
|Bruce stands by decision to quit Hull City|
|Pochettino: Not the right time for Argentina job|
|Inter yet to approach De Boer with Mancini exit rumoured|
|Ancelotti trusts me more than Guardiola - Ribery|
|Wijnaldum rejected Everton for Klopp|
|Pre-season Manchester derby cancelled|
|Coutinho excited by ´fast´ Liverpool recruits|
|Cristiano Ronaldo and Conor McGregor step into the ring together|
|Mancini coy on reports linking Icardi to Napoli|
|Nolito reveals why he chose Man City over Barcelona|
|Inter 1 Paris Saint-Germain 3: Icardi absence in defeat fuels Napoli talk|