Patrick Vieira has been appointed as head coach of French club Nice after leaving New York City FC.
The former Arsenal and France midfielder's contract at the MLS club was due to expire in November.
"After two and a half years as head coach of NYCFC, today will be my last day," Vieira wrote on Twitter.
"I can honestly say that my time with the club has been absolutely perfect - both on the professional and personal level."
Domenec Torrent, meanwhile, has replaced Vieira as New York City head coach.
Torrent has been Pep Guardiola's assistant since 2007, working with the Spaniard at Manchester City, Bayern Munich and Barcelona, and helping him to 24 trophies.
The 55-year-old has signed with NYCFC until the end of the 2020 season and will take up the position, pending the approval of a US work permit.