At the end of the 2012–13 season Moyes left the club for Manchester United. He had managed Everton for 11 years. Moyes was replaced by Roberto Martínez. Martinez led Everton to the semi-finals of the EFL Cup and the FA Cup in 2015–16. However, he was sacked with two games left in the season due to poor performances.