Ronaldinho has reached an agreement with Barcelona to return to the club in an ambassador role, it was confirmed on Thursday.
The former Brazilian international made over 200 appearances for Barca in a five-year spell at the club after joining from Paris Saint-Germain in 2003.
After helping the Blaugrana win two league titles and a Champions League he left for AC Milan, before winding down his career back in Brazil, with a brief spell in Mexico.
"Ronaldinho will become a club ambassador and representative at various events and activities over the coming years," Barca said in a statement.
- FC Barcelona (@FCBarcelona_es) February 2, 2017
"He will also form part of the legends project, a team of former players who, through matches around the world, will help to globalise the Barca brand and its values, and will take part in clinics, training sessions and institutional events, among other activities organised by the club.
"Ronaldinho will also take part in FC Barcelona Foundation events related to UNICEF. The Masia 360 project will be another of the club projects where the Brazilian will be present, helping with the training and coaching of the athletes involved."
An event will be held on Friday with Ronaldinho and president Josep Maria Bartomeu at Camp Nou where the agreement will be signed.
Ronaldinho already had a glimpse of his ambassadorial duties when he opened the club's New York office at the tail end of last year.
The Catalan club are also looking at ways to collaborate with Ronaldinho's football academies in the coming years.