Barcelona coach Xavi will remain at the club until at least the end of his contract in June 2025 after changing his mind that this would be his last season.
The 44-year-old announced in January he would step down as boss this summer.
But, with president Joan Laporta keen for him to remain, the former Barcelona and Spain midfielder has performed a U-turn.
Xavi took charge in November 2021 after leaving Qatari club Al Sadd and guided Barca to the Spanish title in his first full season in charge in 2022-23.
However, they are 11 points behind La Liga leaders Real Madrid with six games left to play in the current campaign.
Barcelona exited the Champions League last week following a quarter-final defeat by Paris St-Germain.
Xavi, who won 25 honours during an illustrious playing career at Barcelona, had said he felt “liberated” following the announcement that he would step down from the role at the end of the season.
When he announced he was leaving after defeat by Villarreal, he felt he was not being protected by the club and there was no clear direction.
But since that moment, when Xavi felt able to take a more relaxed approach, the team’s results improved.
They went 10 games unbeaten in the league before losing 3-2 at Real Madrid on Sunday.
A meeting took place in Laporta’s house on Wednesday and the pressure from the club for him to stay was obvious.
If Xavi is unable to improve the team by the end of the 2024-25 season, Barcelona will look to persuade one of the high-profile managers out of contract then – including Pep Guardiola, Luis Enrique and Mikel Arteta.
Anthony Joshua's heavyweight title clash with Daniel Dubois was the most in-demand UK sporting event of the year according to data from ticket marketplace Viago
Neither Tyson Fury nor Oleksandr Usyk wanted to be drawn on their next move in the immediate aftermath of Saturday's world champio
Sign up to our free sport newsletter for all the latest news on everything from cycling to boxingSign up to our free sport email for all the latest newsSign up
Napoli interested in Harry Maguire, PSG forward Randal Kolo Muani a target for several Premier League teams, Christopher Nkunku ready to leave Chelsea.Napoli ar