Azealia Banks reportedly took a plea deal today in the assault case over her December 2015 arrest, The New York Daily News reports. Banks faced misdemeanor assault and attempted assault charges after allegedly biting the breast of a nightclub security guard. Jury selection was scheduled to begin today, but instead, Banks reportedly took an offer from prosecutors. She has allegedly agreed to take anger management classes, provide regular updates to the judge, and avoid further legal trouble. If she completes the anger management program without incident, her charge will be reduced from third-degree assault to disorderly conduct. If she doesn’t comply, she could face one year in jail, the Daily News reports.

Banks’ entertainment attorney John Vafa shared a statement with Pitchfork about the plea deal. “After conferring and working with Ms. Banks' New York criminal attorney, we were able to negotiate and accept a plea deal,” he said. “Ms. Banks will participate in the ordered courses by the district attorney and the judge for 26 weeks.”

Banks missed a recent scheduled hearing, which caused the judge to issue a warrant. Vafa explained that Banks had accidentally mixed up the court date and was unable to attend because she was in France for Paris Fashion Week. She appeared in court the next day, and the judge retracted the warrant.