Barcelona manager Xavi Hernandez said on Saturday that he had decided to step down at the end of the season after his side lost 5-3 at home to Villarreal in LaLiga, their third defeat in their last five games in all competitions.
"I'd like to announce that as of June 30 I will not continue as Barca coach," he told a press conference.
Barcelona are third on 44 points, 10 behind leaders Real Madrid and eight adrift of second-placed Girona.
They were thrashed by Real in the Spanish Super Cup final earlier in January and knocked out in the Copa del Rey quarter-finals by Athletic Bilbao on Wednesday.


Top seed Sabalenka beaten at Wimbledon by inspired Osaka
Djokovic clears Safiullin hurdle to make quarter-finals
Leclerc wins dramatic British Grand Prix
Pegula's experience pays off as she puts out teenager Jovic
Mbappe penalty sends France past Paraguay into World Cup quarter-finals
