A group of asylum-seeking immigrants held in detention upstate, who say they’ve been wrongfully stripped of avenues to release, are seeking an injunction that would force President Donald Trump’s administration to adjudicate their parole applications and offer them bond hearings.

In a petition and memorandum of law filed in federal court on Monday night, the asylum-seekers, held at the Buffalo Federal Detention Facility in Batavia, New York, contend that keeping them locked away is causing them irreparable harm, including impairing their ability to prepare for asylum hearings. They say that their legal rights to a proper parole process, and to bond hearings after six months of detention, disappeared when Trump took office, and that their legal action may be the first in the nation to challenge Trump’s parole treatment of asylum-seeking detainees.