Fernandinho has signed a contract extension with Manchester City, committing himself to the club until 2020.
Talks have been ongoing between City and Fernandinho for a number of months, with the 32-year-old's previous contract due to expire in the summer.
The Brazil international has now agreed a deal which will see him remain at the Etihad for at least another two seasons.
Fernandinho joined City from Shakhtar Donetsk for £30m in 2013 and he has since gone on to make 212 appearances for the club in all competitions.
The defensive midfielder has already played 30 games this season, including 23 appearances in the Premier League.
"This is a Club with a fantastic future and I want to be a part of it for as long as possible," Fernandinho told Manchester City's website.
Transfer Talk: Who leads Sanchez race?
Will Manchester United beat Chelsea to the signing of Arsenal's Alexis Sanchez? The Transfer Talk panel discuss.
"With Pep in charge, I feel sure we can win significant silverware and, importantly, we will try to do it playing attractive, attacking football.
"It's a pleasure to be a part of this Club and I look forward to seeing what the next few years bring."
Fernandinho has credited Guardiola with making him a better player since his arrival in Manchester.
Speaking earlier this season, he said: "Of course he also gives me extra motivation to keep going and doing what I am doing now.
"It's nice to hear some kind words from him but I have to keep going the same way, keep working the same way and try and do my best to improve the team.
"Our manager is a great leader. Everyone wants to follow his philosophy with the same spirit. What happens when you follow a great leader is you believe in his mentality."