The singer was arrested on Aug. 21 and charged with three counts of battery with injury on a police officer and one count of resisting an executive officer
Lil Nas X has entered an inpatient treatment program after being arrested and subsequently released from jail on Aug. 25.
The Grammy winner was absent from a pre-trial hearing on Monday, Sept. 15 in Los Angeles, where lawyers for the “Old Town Road” artist, 26 — who was charged with four felonies — confirmed he is “in treatment” at an undisclosed facility in another state, Rolling Stone and Billboard report.
“Defendant is allowed to remain out of state as long as he remains in treatment,” Los Angeles County Superior Court Judge Shellie Samuels said, modifying the conditions of his release, per the outlets. The judge also declared that if Lil Nas X’s “treatment changes, and he becomes outpatient, then we’ll talk.”
After the hearing, the singer’s lawyer, Drew Findling, told reporters that “we’re doing what is best for [Lil Nas X] from a personal standpoint and a professional standpoint, but most importantly, for his well-being,” according to Rolling Stone.
Findling added, “He is surrounded by an amazing family, an amazing team of people that care about him and love him. And we’re just addressing those issues. It’s really as simple as that. He’s had a great life, and he’ll continue to have a great life. This is a bump that he’s going to get over.”
The next hearing is set for November.
A rep for Lil Nas X did not immediately respond to PEOPLE’s request for comment.
According to the Los Angeles District Attorney’s Office, the musician could face up to five years in prison if convicted.
The musician, whose real name is Montero Hill, was arrested just before 6 a.m. on Aug. 21 after police responded to reports of him allegedly walking around naked in Los Angeles, per a spokesperson for the Los Angeles Police Department.
When cops arrived at the scene on Ventura Blvd., Lil Nas X allegedly used “force and violence [to] inflict an injury” upon three police officers, per a complaint obtained.
The complaint added that the singer “did unlawfully attempt by means of threats and violence to deter and prevent” a fourth officer “from performing a duty imposed upon such officer by law.”
On Aug. 25, he appeared before a judge, waived his arraignment and pleaded not guilty to three counts of battery with injury on a police officer and one count of resisting an executive officer.
Bail was set at $75,000 by the judge, who also required the rapper to attend four Narcotics Anonymous meetings per week. He was released from jail the same day.
It was reported Lil Nas X was hospitalized for a drug overdose. However, Hill’s father, Robert Stafford, told reporters he “absolutely” did “not” take illegal drugs. Stafford told reporters on Aug. 25 the musician was “very remorseful for what happened.”
“He’s going to get the help that he needs and just keep him in your prayers,” he added. “Give him the same grace and mercy that God gives everyone.”
His attorney, Christy O’Connor, denied claims that drugs were involved in the Aug. 21 incident. “Assuming the allegations here are true, this is an absolute aberration in this person’s life,” she said in court, per the Associated Press. “Nothing like this has ever happened to him.”
Following his release from jail, the musician shared a positive message on his Instagram Stories on Aug. 26.
“Your girl is gonna be okay, boo. Okay? S—’s gonna be all right,” he said in the video. “S—’s gonna be all right. S—. That was f—ing terrifying. That was terrifying. That was a terrifying last four days. But your girl is gonna be all right.”