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.


Juventus sack coach Tudor after eight-match winless run
India's Iyer taken to hospital after fielding injury
Norris unfazed by crowd boos after winning in Mexico
Mbappe and Bellingham strike as Real Madrid edge Barcelona 2-1 in fiery El Clasico
Brazilian teen Fonseca beats Fokina to win biggest career title in Basel
