Pep Guardiola has put an end to speculation over his Manchester City future by agreeing a new long-term contract at the Etihad.

Guardiola’s previous deal was set to expire in seven months, meaning some were tipping him to leave City at the end of the season.

Juventus and former club Barcelona had reportedly been eyeing up the Spaniard, who has spent the last four years in Manchester after waving goodbye to Bayern Munich.

Following a disappointing season in which City’s two-year stranglehold on the Premier League title came to an end, and their Champions League dream came crashing down once again in a shock quarter-final defeat against Lyon, many felt he would bid farewell to the club next summer and make the next step in his managerial career.

Guardiola has put pen to paper on a new contract with Manchester City

But Guardiola has now committed his future to City by approving a contract extension that will keep him at the Etihad until 2023, the Premier League side have confirmed.

The new deal will take him to at least six years in the hot-seat, which is longer than most anticipated when he arrived in Manchester after four and three-year spells at Barcelona and Bayern respectively.

His decision to stay put will only boost City's chances of signing Lionel Messi, who is set to leave Barcelona upon the expiry of his contract next summer.

Guardiola was in the final year of his contract at the Etihad
Guardiola has ended speculation over his Manchester City future

Messi and Guardiola enjoyed great success in their time together at Barca, winning three Spanish titles and two Champions League crowns, and the former could therefore be tempted to reunite with his old manager.

After signing the extension at City, Guardiola said: ”Ever since I arrived at Manchester City I have been made to feel so welcome in the club and in the city itself- from the players, the staff, the supporters, the people of Manchester and the chairman and Owner.

“Since then we have achieved a great deal together, scored goals, won games and trophies, and we are all very proud of that success.

Guardiola only has seven months remaining on his current deal, sparking talk of a potential return to Barcelona

“Having that kind of support is the best thing any manager can have. I have everything I could possibly want to do my job well and I am humbled by the confidence the owner, chairman, Ferran (Soriano) and Txiki (Begiristain) have shown in me to continue for two more years after this season.

“The challenge for us is to continue improving and evolving, and I am very excited about helping Manchester City do that.”

City chairman Khaldoon Al-Mubarak added: “It is testament to the qualities of the man that Pep Guardiola's passion and intelligent approach are now woven into the very fabric of the football we play and our culture as a club.

But the Spaniard has now extended his stay at City, where he has claimed two Premier League titles
But the Spaniard has now extended his stay at City, where he has claimed two Premier League titles

Get the latest transfer news straight into your inbox!

Want to be on the ball with all of the latest football news?

Well then sign up for the brilliant new Daily Star Sport email newsletter!

From the latest transfer news to the agenda-setting stories, get it all in your email inbox.

How do you sign up?

It only takes a matter of seconds.

Simply type your email address into the box at the top of this article and hit 'subscribe'.

And that's it, job done. You'll receive an email with all of the top news stories every single morning.

You can find out more information on our email newsletter on this link here.

“That impact has been central to our success during his tenure and it is why I am delighted that he shares our view that there is so much more to be achieved both on and off the field.

“I’m sure all City fans share my delight in this new agreement and in anticipating the exciting opportunities that, with continued hard work, are there to be taken.”