 On 30 May 2017, two days after finishing the 2016–17 season in second place, Roma confirmed Spalletti had decided to leave the club by mutual consent.During his second stint with Roma, the team qualified for the Champions League for two consecutive seasons.On 9 June 2017, Spalletti was confirmed as the new manager of Inter after signing a two-year contract.