A panel of the U.S. Court of Appeals for the Second Circuit on Tuesday partially revived a lawsuit against the New York City and federal governments by a man born in Brooklyn who was held for four days in a Manhattan jail on a faulty federal immigration detainer.

A three-judge panel of the U.S. Court of Appeals for the Second Circuit said the lawsuit from Luis Hernandez, a 45-year-old American citizen, had supported claims that the federal officer who issued the notice following his arrest in September 2013 had lacked probable cause to do so.