Barcelona legend Xavi Hernandez has officially announced that he will retire from football by the end of the 2018/19 season. The Spanish international is one of the most decorated footballers all time.

The 39-year-old started out from Barcelona’s youth team and broke into the main team in 1998, before retiring from the club in 2015 as one of the greatest players in the club’s history. After leaving the Catalan club, Xavi moved to Qatar for club Al-Sadd.

In a statement, the Terrassa native said: “It’s been a privilege to play until the age of 39.”

“This 2018/19 season will be my last as a player, but I hope the future offers the chance to be a coach,” he added.

Here’s how Twitter paid tribute to the Barcelona legend:

Xavi debuted with the Barca first team under Louis Van Gaal, and was part of the team’s glory years from 1998 to 2015. He made his biggest leap under Frank Rijkaard and became a superstar under Guardiola. Xavi was the first captain of the team for his final season, following the retirement of Carles Puyol.

Xavi won 25 titles at Barca, including the famous treble seasons of 2008/09 and 2014/15.

In total, he holds eight La Liga titles, three Copa del Rey, four UEFA Champions League, two FIFA Club World Cup, six Spanish Super Cup and two UEFA Super Cup. He also was a six-time Copa Catalunya and one-time Catalunya Super Cup winner.

(With IANS Inputs)