Martinez, who appears to be in immigration detention, filed a petition for a writ of habeas corpus under 28 U.S.C. § 2241 challenging his continued detention. The respondents include Kevin Raycraft and other immigration officials who have authority over Martinez's custody status.

Judge Maloney's order requires the government to provide Martinez with a bond hearing under 8 U.S.C. § 1226(a), giving immigration authorities the alternative of simply releasing him from detention immediately. The court also mandated that parties receive at least 24 hours' notice before any scheduled hearing.

The case represents a challenge to prolonged immigration detention, with Martinez arguing through his habeas petition that his continued custody violated constitutional or statutory requirements. The judge's conditional grant suggests the court found merit in Martinez's arguments about the legality of his detention.

Immigration officials must file a status report within six business days certifying their compliance with the court's order, including details about whether a bond hearing occurred, the outcome of any hearing, and bond conditions or reasons for denial. The ruling adds to ongoing litigation over detention practices in immigration cases.