Her US lawyer says engagement with the Egyptians by the Trump and Obama administrations, as well as by Congress and advocacy groups, helped win her release.