A panel of U.S. Court of Appeals for the Second Circuit judges questioned a Brooklyn federal judge’s decision to sentence a man accused of attempted murder and planning to join ISIS to 17 years in prison in a decision Friday, which remanded the case for resentencing in the Eastern District of New York.

Federal guidelines recommended that Fareed Mumuni, who pleaded guilty to attempting to murder an FBI agent with a kitchen knife and conspiring to support ISIS, be sentenced to 85 years in prison. While judges have the flexibility to issue sentences that vary from federal guidelines, Judge José Cabranes of the U.S. Court of Appeals for the Second Circuit wrote in his majority opinion that the 17-year sentence from U.S. District Judge Margo Brodie of the Eastern District of New York was unreasonable.