A federal judge in Tennessee has ruled that a Salvadoran migrant at the heart of the debate over President Donald Trump’s border security policies must be released from jail while he awaits trial on human smuggling charges.

U.S. Magistrate Judge Barbara Holmes ruled in Nashville June 22 that Kilmar Abrego Garcia, 29, cannot remain in detention, denying the federal government's request. The judge set a June 25 hearing in Nashville to determine the conditions of Abrego Garcia's release.

Abrego Garcia was thrust into the national spotlight when the Trump administration mistakenly deported him to El Salvador in March in violation of a court order.

Abrego Garcia, a sheet metal worker and father of three who had lived in Maryland for a decade before he was deported, has pleaded not guilty to charges he transported undocumented immigrants for financial gain.

Prosecutors had argued that Abrego Garcia is a member of the violent gang MS-13 and could flee or intimidate other witnesses if he is released while awaiting trial. Abrego Garcia denies he is a member of the gang and had contended that the charges don’t justify holding him in jail.