Massimiliano Allegri will leave Juventus at the end of the season after five years with the club.

Juventus won Serie A four weeks ago, but the season has been considered a failure after they were eliminated by Ajax in the Champions League quarterfinals.

Allegri arrived in 2014 after four years at Milan and led Juve to five consecutive Serie A titles.

Juventus reached the Champions League final in 2015 and 2017 under Allegri.