Xavi has announced he will step down as manager of Barcelona at the end of the current season.
Xavi, who only recently penned a new deal until 2025, says he made the decision before the Villarreal game, but that now is the right moment to make it official.
"I would like to announce that I will not remain Barça manager beyond the end of this season," Xavi confirmed in a news conference.
"I had decided to leave a few days ago, but I think now is the right time to announce it to help reduce the tension that exists around the club. A change of dynamic is needed.
"So, as a Barça fan, thinking of the club's best interests, and of the players, I think it's the right decision. No one is bigger than the club and I am a supporter above all. I love this club."
Barcelona is 10 points behind Real Madrid in LaLiga.