Brazilian striker Brandao is on his way back to Marseille, with the club in desperate need of attacking cover.
The Ligue 1 outfit allowed the Samba star to return to his homeland on loan in 2011, with Gremio snapping up his services.
It was decided to offer him a break from European competition after a difficult period for the 31-year-old off the field.
Marseille have, however, been forced to bring Brandao back after seeing their striking options severely depleted.
Jordan and Andre Ayew are heading for the African Cup of Nations and Didier Deschamps has no money to bring in reinforcements of the required standard.
He has requested that Brandao return to Stade Velodrome immediately, and the former Shakhtar Donetsk frontman has confirmed that he is returning to French football.
"It has been sorted out," Brandao told L'Equipe.
"The adventure in Porto Alegre was good fun and I thank everyone at the club.
"But now I am heading back to Marseille and I am very happy to be going back."
Marseille chairman Vincent Labrune added: "We had to see if it would be possible, as he will have played for three clubs in the same season (Brandao also took in a loan spell at Cruzeiro).
"We have been told it is possible because the seasons are different in Brazil."