Cairo: Qatar’s government on Tuesday gave permission for a Los Angeles couple to leave for home, two days after an appeals court cleared them of charges in connection with the death of their eight-year-old daughter.

Matthew and Grace Huang were expected to leave for the United States on Wednesday, said the US ambassador to Qatar.

“All requirements met, no further appeal, travel ban to be lifted,” the US envoy, Dana Shell Smith, wrote on Twitter on Tuesday evening. “Huangs can go tomorrow.”

For the couple and their supporters, the travel ban was a nerve-racking 48-hour coda to a legal saga that had lasted nearly two years. The Huangs were stopped at the airport by immigration officials hours after the appeals court ruling on Sunday, and supporters had feared that the move meant that charges against them might be revived in some form.

It was not immediately clear whether prosecutors had initially sought to bring further action against the Huangs, or whether the delay was merely a bureaucratic issue. Foreign residents of Qatar are generally required to submit complicated paperwork when leaving the country.

The case had received high-level attention from the Obama administration. After the court ruling, Secretary of State John Kerry had urged that the couple’s departure be expedited, and the State Department had earlier expressed hopes for a speedy resolution.

Months in prison

The couple’s ordeal began with the January 2013 death of their adopted daughter Gloria, who was born in Ghana. The Huangs’ lawyers said the child suffered from an eating disorder stemming from her impoverished upbringing, but Qatari prosecutors suggested the parents might have been engaged in human trafficking or wanted to sell the child’s organs, and alleged she had been deliberately starved.

The Huangs strongly maintained their innocence throughout.

Convicted and sentenced to three-year jail terms, the Huangs spent months in prison before being freed on their own recognisance during the appeals process, but they were not permitted to leave Qatar.

They have had a lengthy separation from their two other children, also African-born, who were returned to the United States to live with relatives.

Matthew Huang, an engineer, had brought the family to Qatar after getting a job working on infrastructure related to Qatar’s planned hosting of the 2022 World Cup. Qatar has faced international criticism in connection with the bid, including accusations of brutal conditions for labourers working at the many construction sites associated with the project, and also allegations of corruption in the bidding process.