Tekashi 6ix9ine reached a deal after being arrested last week for violating conditions of his supervised release, which was part of his probation stemming from a federal racketeering and firearms case plea deal. The rapper, born Daniel Hernández, agreed to serve a month in jail for the violation, the Associated Press reported, and afterwards will serve a month of home incarceration, a month of home detention, and a month of curfew. According to a letter partially endorsed by a Manhattan federal judge, Hernández will also be subject to electronic monitoring.

The deal also requires the artist to submit to supervision from the court’s Probation Department for another year. Judge Paul A. Engelmayer stated that he will sentence Hernández after he admits to the violations at a Nov.

12 hearing. The judge said both the prosecution and defense will need to lay out why the terms are sufficient given the rapper’s repeated probation violations. In October, ABC7 reported that Hernández was detained after traveling to Las Vegas without permission.

The U.S. District Court for the Southern District of New York issued a warrant and he was arrested, arraigned, and pleaded not guilty to the specifications at the time.

Hernández was taken into custody at the Metropolitan Detention Center in Sunset Park, Brooklyn. His attorney Lance Lazzaro told Rolling Stone following the October arrest that they were “confident” the performer would be “released from custody at the next court.