A student pilot from Egypt has agreed to leave the US after posting on Facebook that the world would thank him if he killed Donald Trump.
Emadeldin Elsayed, 23, was not charged with a crime but the US authorities sought to deport him, his attorney, Hani Bushra, said.
Immigration authorities said they would allow him to return home voluntarily as long as he departed by 5 July.
Mr Elsayed is being held in a jail in California after his visa was revoked.
Mr Bushra said on Monday that Mr Elsayed's detention was illegal.
"He's being detained, I think, primarily because he's a Muslim and he's a Middle Easterner," Mr Bushra told the AP news agency. "This kid is going to become a poster boy for hating America."
US Secret Service agents interviewed Mr Elsayed in early February after he posted a photo of Mr Trump on Facebook and wrote he was willing to serve a life sentence for killing the billionaire, and the world would thank him, Mr Bushra said.
Mr Elsayed had said earlier that he never intended to hurt anyone. He said he wrote the post because of Mr Trump's comments about Muslims.
Mr Trump, who is leading the race for the Republican nomination for the presidency, has promised a crackdown on immigration. He has vowed to build a wall along the entire Mexican border and called for a temporary ban on Muslims entering the country.
Latest Stories
-
Samson’s Take: Punish the criminal ‘vigilante’ takeovers
10 minutes -
Kwasi Siaw: Pioneering African talent management with HC Talent
12 minutes -
Damongo: NDC youth allegedly shuts down community mechanised borehole
2 hours -
Mahama vows to uncap NHIS levy in upcoming budget
2 hours -
‘God is telling you to lead through difficult times’, says Rev. Wengam to Mahama
2 hours -
Appiah-Kubi calls on Mahama to review 60-Minister pledge if governance requires
2 hours -
Aklerh makes a ‘Mash Up’ move
2 hours -
No business as usual – Mahama warns appointees
2 hours -
Mr P.O.P: Message from the Morning Man by Kojo Yankson
2 hours -
True peace stems from justice, not the lack of conflict – Duncan-Williams
2 hours -
One dead, student rider injured in a crash at Assin Andoe
2 hours -
Have a long term plan and financial solution for Ghana’s energy sector to permanently get rid of “dumsor”.
3 hours -
Ghana to commission first NuScale small modular reactor simulator training centre in Africa
3 hours -
FirstBank celebrates year-end thanksgiving service at Victory Bible Church
3 hours -
FirstBank’s 2024 Graduate Trainees give back to the community: A day of learning and sharing at Mount Zion Presby Model Primary School
3 hours