A woman who worked with street children in Cairo has been acquitted by Egyptian authorities of kidnapping and human trafficking.

US-Egyptian dual citizen Aya Hijazi was arrested alongside her husband, Mohammed Hassanein, and six others in May 2014 on charges of abusing children in her care, as well as participating in human trafficking, sexual exploitation and torture. Human rights activists said the charges were invented, and part of a government crackdown on civil society, which sought to portray aid groups with foreign funding as unpatriotic.

Ms Hijazi faced five years hard labour or life behind bars. There were cheers in the courtroom as she and seven others were acquitted after 1,079 days of illegal pre-trial detention.

Campaigners, including Hillary Clinton, having long called for the 30-year-old’s release.

The trial was delayed several times for what the human rights groups called absurd pretexts, such as the inability to turn on a computer at a court hearing. On 24 March, the verdict was delayed again, prompting Human Rights Watch to call the case a “travesty of justice”.

Egypt's leaders struggle to regain control Show all 2 1 /2 Egypt's leaders struggle to regain control Egypt's leaders struggle to regain control A supporter of President Hosni Mubarak tries to get to opposition lines near Tahrir Square Reuters Egypt's leaders struggle to regain control

Following her arrest, it took days for Ms Hijazi’s family to track her down in the prison system and she waited four months to be charged.

They have spent more than 1,000 days in pre-trial detention, despite a forensic science report by Egypt’s public prosecutor which found no evidence that the children in her care had been sexually assaulted. Some of the children did show signs of sexual trauma but the abuse was alleged to have happened before 2014.

A report from the Bar Human Rights Committee of England and Wales found that her case had violated both international laws and Egypt’s constitution.

President Abdel Fatah al-Sisi, who has forged close links with US President Donald Trump in the past two weeks, has presided over the widest crackdown in the country in its history, targeting journalists, NGOs and political opponents.

Ms Hijazi’s case became a high-profile symbol of an oppressive regime.