Juventus coach Massimiliano Allegri has confirmed he had the chance to become Zinedine Zidane's successor at Real Madrid but turned down the offer to stay in Turin.
Allegri had been linked with two of Europe's top jobs in recent weeks, as both Chelsea and Madrid showed interest in the Italian with the expected exit of Antonio Conte and Zidane's departure last month.
Chelsea, however, are yet to confirm who will replace Conte, who is widely tipped to leave, while Spain's Julen Lopetegui caused a scandal by taking the Madrid post just days before the World Cup began.
Lopetegui has now been sacked by the RFEF hours prior to the big kick-off, and Allegri affirmed that he in fact had first bite at the vacancy before Spain's preparations were turned upside down.
"Did I say no to those two clubs? Let's just say that I have said yes to Juventus, respecting the agreement that I have struck with the board," he told Sky Sport.
"I am grateful to president Florentino Perez for taking me into consideration.
"I have always liked Juventus' plans, which are renewed every year with the aim of always winning. I will look to continue the improvements that we began four years ago, alongside [Beppe] Marotta, [Fabio] Paratici, [Pavel] Nedved and the president."
Allegri took over the Juventus job from Conte in 2014, when the latter left to work with the Italy national team following the Azzurri's 2014 World Cup debacle.
Allegri has since won four straight Scudetti with the Old Lady, marking a record seven consecutive Serie A titles in total, while also reaching the Champions League final in 2015-16 where the club lost out to Madrid.