But the former Manchester United manager has experienced difficulty getting to grips with the club.

He has complained about the amount of leaks to the media and also had to deal with the aftermath of the events of 10 March, when fans ran onto the pitch during a home defeat by Burnley and children went to the Clarets dug-out for safety following widespread protests against the club’s hierarchy.

Moyes is credited with getting the best out of £25m forward Marko Arnautovic.

Although the Hammers flirted with relegation after a run of two wins in 12 Premier League games, seven points out of the last nine allowed the club to finish in 13th spot, nine points in front of the drop zone.