Bayern Munich have turned to a 72-year-old who has been out of management for four years to get the club’s stuttering season back on track.

But in appointing Jupp Heynckes as Carlo Ancelotti’s successor until the end of the campaign, Bayern have returned to a man who gave the club its finest hour.

Heynckes’ last act as a coach, back in 2013, was to seal a Bundesliga, DFB-Pokal and Champions League treble before making way for Pep Guardiola.

Talk of a club in crisis may seem ludicrously premature after two Bundesliga draws and an admittedly heavy European loss away to Paris St Germain, but it is not a situation Bayern are used to.

Ancelotti paid the price for that 3-0 defeat in France and, despite being linked with the likes of Dortmund boss Thomas Tuchel and Hoffenheim coach Julian Nagelsmann, Bayern have put their faith in a familiar face.

Heynckes has had three previous spells in charge of the club, his last game Bayern’s 2-1 win over Borussia Dortmund in the 2013 Champions League final at Wembley.

Bayern said in a statement that Heynckes would take over from Monday on a contract until June 30, 2018.

Chief executive Karl-Heinz Rummenigge said on the club website: “Between Jupp Heynckes and Bayern there is a great deal of trust. The talks that (president) Uli Hoeness, (sporting director) Hasan Salihamidzic and I have held have shown that once again.

“We are very thankful to Jupp that he has agreed to become our head coach. He is at this moment in time the ideal coach for FC Bayern.”

Salihamidzic described Heynckes as a “master of man-management and tactics”.

He added: “We are convinced that he is exactly the right man to lead the team in the situation they are in to success again and to achieve our goals.”

Heynckes’ first spell in charge of Bayern came between 1987 and 1991 and he also had a stint as caretaker in 2009 following the sacking of Jurgen Klinsmann.

He said: “I wouldn’t have returned to any other club in the world, but FC Bayern Munich are very close to my heart. My coaching staff and I will now do everything to bring back successful football for the fans. I’m very much looking forward to this challenge.”

Bayern defender Jerome Boateng earlier described Heynckes as “a super solution for the whole club”.

Heynckes takes over a side who lie second in the Bundesliga table, five points behind Dortmund. His first game in charge will be at home to Freiburg a week on Saturday before a Champions League match against Celtic.

He will have Peter Hermann and Hermann Gerland as assistants, the pair having been by his side during the treble-winning season.

Hermann Gerland, Peter Hermann and Jupp Heynckes in 2013 Hermann Gerland, Peter Hermann and Jupp Heynckes in 2013 (Anthony Devlin/PA)

Hermann has left his post as assistant coach at second-division side Fortuna Dusseldorf, while Gerland, the sporting head of the club’s youth academy, will take a step back from that role to focus on the first team.

Bayern made no mention of whether Willy Sagnol, who has been in caretaker charge since the departure of Ancelotti eight days ago, would remain on the coaching staff, but reports in Germany said there would be no place for him.