Answer
Pep Guardiola was the manager of Manchester City when Wilfried Bony left the club in January 2018. Guardiola had been appointed as manager in July 2016 and had led the club to the Premier League title in his first season in charge. Bony had joined the club in January 2015 from Swansea City and had scored 20 goals in 42 appearances for the club.