Barcelona great Xavi Hernandez will begin his coaching career with Qatari club Al-Sadd.

Al-Sadd says Xavi is taking charge of the team he helped become Qatari league champion this season.

The 39-year-old midfielder played four seasons with Al-Sadd after a storied 17-year career with Barcelona.

Qatar's Al-Sadd player Xavi Hernández, center, a former Barcelona and Spain's midfielder, is greeted by Iran's Persepolis prior to start their match in AFC Champions League at the Azadi stadium in Tehran, Iran, Monday, May 20, 2019. Xavi Hernandez retired from soccer as a player. He quit international football in 2014 and left Barcelona one year later after 17 seasons. He has since played for Al-Sadd in Qatar while preparing for a future as a manager. (AP Photo/Vahid Salemi)
Qatar’s Al-Sadd player Xavi Hernández, center, a former Barcelona and Spain’s midfielder, is greeted by Iran’s Persepolis prior to start their match in AFC Champions League at the Azadi stadium in Tehran, Iran, Monday, May 20, 2019. Xavi Hernandez retired from soccer as a player. He quit international football in 2014 and left Barcelona one year later after 17 seasons. He has since played for Al-Sadd in Qatar while preparing for a future as a manager. (AP Photo/Vahid Salemi)

Xavi played a club record 767 games for Barcelona and helped the club win four Champions Leagues and eight Spanish leagues. He also played in Spain’s title-winning teams at the 2010 World Cup and 2008 and 2012 European Championships.

Al-Sadd says Xavi’s squad will gather in Barcelona in July for a pre-season training camp in the Catalonia region.

___