Allegri was again placed into doubt following a 3-1 home loss to Fiorentina – their sixth in 12 Serie A games.
“It is obvious that we are not happy,” Galliani said.
“We evaluated everything last night and changing the Coach wouldn't have given us any guarantees…
“Silvio Berlusconi and I had a long talk last night and then we called Allegri at around midnight and told him that we have faith in him.
“We have confirmed Allegri as the Coach of Milan. He has done well in the past two years and this is the decision we have made.”