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.

“After the January inauguration of President Trump, the facility made a sudden and secret change to immigration practices,” said the New York Civil Liberties Union and the International Refugee Assistance Project at the Urban Justice Center, the two legal advocacy groups representing the immigrant detainees, in a news release this week.