Former Bangladeshi Prime Minister Sheikh Hasina has been released from jail so she can travel abroad for medical treatment.
Prison officials say Ms. Hasina, who is facing corruption charges, is to leave for the United States on Thursday.
Ms. Hasina's Awami League Party says the former prime minister is also expected to hold talks with officials from the military-backed caretaker government before departing.
The government is trying to end a stalemate with the Awami League Party and the Bangladesh Nationalist Party.
Both parties have said they will boycott the country's parliamentary elections planned for December unless their respective leaders are freed.
On Monday, the former prime minister was granted permission to travel abroad for medical treatment. Her corruption trial will continue in her absence.
Ms. Hasina suffers from several ailments including hearing problems caused by a grenade attack four years ago.
Thousands of supporters cheered and chanted on Wednesday as she was driven from the prison to her home, where she was greeted by party leaders.
Ms. Hasina and another former prime minister, Khaleda Zia, are among 170 politicians and business people arrested last year during an anti-graft sweep.