Both Ronaldinho, 40, and his brother Roberto Assis have denided any wrongdoing
Former Brazil forward Ronaldinho and his brother Roberto have been released from a Paraguan prison on Wednesday.
However, the brothers have been placed under house arrest in Paraguay, reports the BBC.
The 2005 Ballon d'Or winner had spent time in jail along with his brother after being arrested on 6 March, accused of using fake passports.
Both Ronaldinho and his brother had been denied bail previously, but posted $800,000 (£648,000) each and must now stay in a four-star hotel in Asuncion while awaiting trial.
Both Ronaldinho, 40, and his brother Roberto Assis have denied any wrongdoing.
Their lawyer has called their imprisonment "arbitrary, abusive and illegal."
In allowing the pair to leave prison, Judge Gustavo Amarilla said the size of the bail paid was "significant" and would "guarantee they will not flee".
Ronaldinho had initially visited Paraguay to promote a book and a campaign for underprivileged children.
The 2002 World Cup winner played for clubs including Paris St-Germain, Barcelona and AC Milan before retiring in 2015 after a spell at Brazilian side Fluminense.
Ronaldhinho won the World Cup with Brazil in 2002 and was named Fifpro World Player in 2005 and 2006.