Torrent was a head coach at Girona in the Spanish third division in 2005-06. He joined Guardiola in 2007 as his assistant for Barcelona B and has followed Guardiola to all of his stops since then. Torrent, a Catalan, has won 23 trophies with Guardiola over the years.

The coaching change comes with NYCFC contending for MLS Cup and the Supporters’ Shield. At 8-3-4 through 15 games, NYFC is just two points off the pace set by Atlanta United and is fourth in the league in points per game at 1.87. Vieira’s last match in charge was a 1-1 draw with Atlanta on Saturday.