6ix9ine will remain behind bars.

A federal judge has denied the rapper’s motion to serve his 24 months under home confinement. On Tuesday, Judge Paul Engelmayer ruled that Tekashi must remain in jail for the remaining 10 months of his sentence.

“The Court’s determination was, and is, that a 24-month prison sentence is necessary in this case,” wrote Engelmayer. “A shorter sentence would disserve the assembled [factors], including that Mr. Hernandez’s sentence reflect the seriousness of his crimes.”

According to TMZ, Tekashi requested home confinement out of fear for his safety. He is concerned that he may be harmed by members of the Bloods, the same gang he testified against in order to receive a reduced sentence.

The judge acknowledged that the private jail where Tekashi remains doesn’t have the rehabilitative programs of other facilities, but said that granting his request would “eliminate the remaining prison component of his sentence in favor of lesser forms of confinement.”

Tekashi had been facing a minimum of 47 years behind bars on racketeering and firearm charges, which was reduced to two years. He has already served 14 months, which will count toward his sentence. Upon his release, he will be on supervised release for five years, and will have to complete 300 hours of community service and pay a $35,000 fine.

Tekashi’s attorney plans to appeal the decision.