Dylan Lopez Contreras, the first known New York City student detained by federal immigration authorities as part of President Trump’s mass deportation agenda, has been released after nearly a year in custody, his lawyers said Wednesday.

Lopez Contreras, a Bronx high school student who fled persecution in Venezuela, was arrested last spring at a routine immigration hearing, where he did not have a lawyer. He was transferred to a facility in Pennsylvania, where he was held for 10 months.

His mother, Raiza Contreras, thanked God and the public for rallying behind her son.

“Very soon, my son will be back with his siblings and me,” she said in a statement. “It is both a relief and a blessing.”

Raiza, mother of Dylan Lopez Contreras, first public high school student detained by federal agents, attends a press conference outside the Jacob K. Javits federal building, Thursday, July 17, 2025, in New York. (AP Photo/Yuki Iwamura)Raiza Contreras, mother of Dylan Lopez Contreras, attends a press conference outside the Jacob K. Javits Federal Building in lower Manhattan on July 17, 2025. (Yuki Iwamura/AP)

Kate Fetrow, an associate supervising attorney at the New York Legal Assistance Group and one of Lopez Contreras’ lawyers, said “nothing can undo the injustice” of denying him due process, “snatching away the precious time, education and experiences he’s been forced to miss for nearly a year of his young life.”

“His release today is a momentous step in the right direction as we continue to fight to restore justice for Dylan and his family,” Fetrow said.

The U.S. Department of Homeland Security did not immediately respond to a request for comment.

Lopez Contreras, 21, came to the United States in April 2024 under a President Biden-era entry program that was rolled back when Trump took office.

Lopez Contreras enrolled in ELLIS Preparatory Academy, a specialized public school in the Bronx for older immigrant students, where he was learning English while supporting his mom and younger siblings.

But his acclimation to life in New York came to an abrupt halt last May when at a scheduled immigration hearing, ICE officers followed Lopez Contreras out of the courtroom and arrested him in the lobby.

Raiza, center, mother of Dylan Lopez Contreras, first public high school student detained by federal agents, attends a press conference outside the Jacob K. Javits federal building, Thursday, July 17, 2025, in New York.Raiza (center), mother of Dylan Lopez Contreras, attends a press conference outside the Jacob K. Javits federal building on July 17, 2025. (Yuki Iwamura/AP)

Advocates and Democratic elected officials came to his defense, insisting Lopez Contreras was following the legitimate asylum process for immigrants fearful of returning to their native countries.

During his time in detention, Lopez Contreras battled chronic health issues, but faced setback after setback from immigration and federal courts as his attorneys fought for his release.

“Our city is overjoyed that Dylan has finally been released from detention and will be back home with his loved ones in the Bronx,” Mayor Mamdani said in a statement. “He is a New Yorker, and our city is glad to have him home.”

“Dylan did everything right — he entered legally, worked to support his family and enrolled in school,” added Sen. Chuck Schumer (D-N.Y.), who brought Raiza Contreras as his guest to the State of the Union. “He should have never been detained like this.”