Massimiliano Allegri revealed he turned down Real Madrid in favour of a second spell with Juventus.
Allegri was appointed as Bianconeri boss in May after Andrea Pirio was relieved of his duties following a poor season, ending with the club only fourth in Serie A.
The experienced Allegri led the Turin giants to five consecutive Serie A titles, four Coppa Italia triumphs and two Champions League finals during his previous tenure.
Allegri, 53, on Tuesday revealed he could have taken over at Madrid before Carlo Ancelotti was appointed as head coach.
"I have to thank Real Madrid and the president for the opportunity he gave me [to coach Real Madrid]. Then I thought about it and chose Juventus," Allegri said during his presentation news conference.
"It was a gesture of love for a club that gave me a lot and who I enjoy coaching."
Inter's 2020-21 Scudetto triumph ended Juventus' nine-year spell of dominance in Italian football and Juve president Andrea Agnelli is hoping Allegri can reassert the Bianconeri's authority.
"It’s useless to present him and repeat what he’s won once again. Perhaps, the streak of Serie A titles he’s won is something impossible to equal," Agnelli added at Allegri's unveiling.
"We analysed what Juventus could have been with the return of Allegri, we agreed that it could have been a risky choice for both of us because of his glorious past and the expectations that he would bring.
"What Juventus can give is the right environment to reach these results. Every victory has been achieved thanks to hard work. As Max has said many times, winning is not for everybody.
"A new season begins, our target is to be competitive for every trophy in March, then we’ll see. Max is the coach of Juventus for the next four years because he has the credibility to write an exciting new chapter."
The boss' press conference recapped— JuventusFC (@juventusfcen) July 27, 2021
The Juve president took a dig at former head coach Maurizio Sarri, who had claimed the 2019-20 Scudetto he won in Turin was taken for granted.
"Here at Juventus, we work hard every day to achieve victories," Agnelli continued.
"We can’t take victories for granted, whoever thinks that the trophies we’ve won over the last few years have been less appreciated is wrong because, behind every trophy and every season, there is a great commitment, sacrifice and desire to win."
Agnelli also confirmed Giorgio Chiellini, who captained Italy to their first European Championship triumph since 1968 at Euro 2020, will sign a contract extension with the club.