Defender Nicolas Otamendi has extended his contract with Manchester City until 2022, the Premier League club has announced.
The Argentina international has played in all but one of City's 23 Premier League matches so far this season.
Otamendi, 29, joined City from Valencia during the summer of 2015, having moved to Spain from Porto.
The defender has become an integral part of Pep Guardiola's side, which remained unbeaten in the Premier League until the 4-3 defeat at Liverpool on Sunday. City, who are now 12 points clear at the top of the table, resume the Premier League campaign at home to Newcastle on Saturday.
Next week, Guardiola's side host Sky Bet Championship Bristol City in the second leg of their League Cup semi-final.
Meanwhile, Neil Warnock is looking forward to welcoming City after seeing his Cardiff side beat Mansfield 4-1 in their FA Cup third round replay to set up a home clash with Guardiola's side.
"They're probably the best in the world at the moment, it's great, and I think the fans deserve that," he said.