why was Johnny Depp replaced?

why Mads Mikkelsen replaced Johnny Depp?