Ronaldinho completed his move to Flamengo upon signing a four-year deal, the Brazilian club announced. "Ronaldo de Assis Moreira, or simply Ronaldinho Gaucho, will wear the Flamengo shirt," a statement on the club's official website read. The 30-year-old was granted permission by AC Milan of late to seek a move to his homeland after failing to keep his place with the Italian side. Last weekend, Milan's vice-president Adriano Galliani said the Seria A outfit and Flamengo had reached an agreement. Two-time world player of the year Ronaldinho was also targeted by Brazilian club Gremio, where he kicked off his professional career in the late 1990s. Palmeiras were also in the race for the former Barcelona star but eventually Flamengo outbid both of his suitors. Ronaldinho took no part in the 2010 World Cup after then Brazil coach Dunga left him out of the squad. However, it's understood that the ex-Paris Saint Germain man is seeking to be named for the gigantic competition in 2014. Ronaldinho, who has been suffering from fitness problems for nearly three years, was part of the Brazil squad that won the 2002 World Cup.