Milan have put their faith in Massimiliano Allegri after crisis talks with President Silvio Berlusconi.

“With Galliani and Allegri we had a frank and cordial discussion in which we revisited and analysed the past season, so there was a clarification on certain things,” said Berlusconi.

“We reached an agreement on the rights and duties of the club towards the Coach and the Coach towards the club.

“We also talked about the type of football that Milan must play and the squad for next season, setting out guidelines for the transfer session.

“The rapport with the Coach, which has never been interrupted, continues with faith and in absolute reciprocal respect.”

Stefan Coerts of Goal.com reported earlier in the week that Allegri had met with Berlusconi in order to discuss his future with the club. Now there's nothing to worry about from the manager's perspective.

Italian football expert James Horncastle posted a photo of Allegri having a meal with Milan higher-up Adriano Galliani last week:

Allegri was hired back in June 2010 after having success with Cagliari. He made an immediate impact with the Milan giants.

He helped lead the club to the Serie A title in 2011. He followed that up with a win in the Supercoppa Italiana in August of that year, but the results have been going downhill ever since. Milan has finished second in 2012 and third this year.

Meanwhile, Juventus have ascended to the throne of Italian football, winning back-to-back Serie A titles.

Considering the eccentricity of Berlusconi, it seemed Allegri didn't stand much of a chance to return for next year. This news will come as a surprise to many Milan supporters. Count Bleacher Report's Italian football expert Matteo Bonetti as one of those supporters:

AC Milan News posted a photo of a banner from the club's supporters that reads "Allegri get out" in Italian:

Clearly, Allegri is far from a popular character in the Milan setup.

Although the club's fortunes have waned a bit in recent years, Allegri can't take all of the blame. The club was forced to sell stars like Thiago Silva and Zlatan Ibrahimovic, with inadequate replacements coming into the San Siro in return.

The signing of Mario Balotelli in January seemed to re-invigorate Milan this season. It was his penalty against Siena that got the club back into third place, which means Champions League football next season.

With the young talent in the squad, there's plenty to look forward to next season for Milan supporters, even if Allegri's return is unsatisfying.