Reports from Brazil suggest Milan's Ronaldinho will complete his transfer to Flamengo on Wednesday.
The superstar left the Rossoneri training camp in Dubai at the weekend to personally oversee negotiations over his future.
Gremio appeared to have a deal, but were pushed out of the running when Milan demanded €8m to release him from his contract six months early.
According to Radio Globo this evening, Dinho is on his way to Rio de Janeiro, where he will sign for Flamengo on Wednesday.
The contract is set to last 42 months and will be worth €600,000 per month, plus bonuses and sponsor fees.
It will be a reunion with ex-Brazil manager Wanderley Luxemburgo.