Narges Bayani, a Ph.D. student at New York University, was returning to New York from Iran on Jan. 28 when she was detained by authorities at John F. Kennedy International Airport under President Donald Trump’s new immigration ban.

Bayani was released Sunday afternoon after the New York University school of Law’s Immigration Rights Clinic intervened alongside U.S. Sens. Chuck Schumer and Kirsten Gillibrand and U.S. Rep. Jerrold Nadler.