Mr. Khalil is not in imminent danger of deportation, but his situation has grown more dire as the Trump administration continues its efforts to remove him from the country.
The ruling was just the latest misfortune to befall the former New York City mayor. He has been indicted and disbarred, filed for bankruptcy and suffered a fractured vertebra in a car crash.
The judge overseeing the case against Mr. Mangione said the evidence underpinning two of the most serious counts, one of which charged him with first-degree murder, was “legally insufficient.”
Luigi Mangione at State Supreme Court on Tuesday. Mr. Mangione, who is accused of killing UnitedHealthcare’s chief executive last year, still faces a second-degree murder charge.