Barcelona have confirmed the return of Xavi as coach, with the legendary midfielder facing a huge challenge to restore the fallen Spanish giants to their former glory. The Spaniard left Camp Nou to play for Qatari side Al Sadd in 2015, after making 767 appearances for the Catalan club, which included winning eight La Liga titles and four Champions Leagues. "It's time to come home. Welcome, Xavi," Barca tweeted. <a href="https://www.thenationalnews.com/tags/barcelona/" target="_blank">Barcelona</a> said in a statement they had reached an agreement with Xavi to become first team coach until 2024 replacing Ronald Koeman, <a href="https://www.thenationalnews.com/sport/football/2021/10/27/ronald-koeman-sacked-after-barcelona-lose-at-rayo-vallecano/" target="_blank">who was sacked</a> after a 1-0 defeat by Rayo Vallecano last month which left Barca ninth in La Liga. "It is expected that Xavi Hernandez will arrive in Barcelona this weekend and that on Monday 8 November his presentation as new FC Barcelona first team coach will take place in an event open to the public at Camp Nou," they said. Xavi is considered one of the club's greatest ever players and there is huge excitement about his potential as a coach after his influence on the iconic Barca team managed by Pep Guardiola. His passing style was seen as the embodiment of Guardiola's "tiki-taka" team that won the treble in 2009. "One of the greatest midfield maestros of all time, he helped redefine the art with his creative mind, pinpoint passing and sublime ability to read the game," Barca said in their statement, heralding the return of "an absolute legend". Al Sadd, which Xavi had coached since 2019, hours earlier said they had reached an agreement with Barca and posted photos on social media of the Spaniard saying goodbye to the players and staff. Barcelona's attempt to appoint Xavi as coach had been held up on Friday over his Al Sadd release clause, with Xavi and Barca considering splitting the payment to complete the deal. Al Sadd said Barca had agreed to pay the clause in Xavi's contract, which is reportedly set at $5.8 million, but Barcelona did not give any details. Xavi had made no secret of his desire to return to Barcelona, which he joined through the club's La Masia academy at the age of 11. "My main objective, when I can do it, is Barca," Xavi told the sports daily Marca last year. "It's my home, that's the dream." There are high hopes Xavi can draw on his incredible playing career to revive Barcelona, who currently sit ninth in La Liga, with concerns growing they might not finish in the top four. The club are also in dire financial straits, having posted debts of 1.35 billion euros. Xavi faces a formidable challenge after Barcelona let Lionel Messi join Paris Saint-Germain in the summer. In Europe, Barca face a fight even to qualify for the knockout stages of the Champions League while any rebuild will have to be carried out on a shoestring budget as the club struggles to deal with the debts it partly built up paying Messi's wages. Xavi will also be charged with improving the team's style of play, which was a key criticism during the tenure of Koeman, another former Barca player.