By ANDREW DALTON | Associated Press
A judge has allowed Lil Nas X to enter a mental health diversion program intended to lead to the dismissal of charges of attacking Los Angeles police officers in Studio City.
Judge Alan Schneider told the “Old Town Road” rapper and singer on Monday that if he sticks to his treatment program and obeys all laws for two years, his four felony counts will be dismissed.

Lil Nas X, whose legal name is Montero Lamar Hill, appears in court charged with four felony counts, including three counts of battery with injury on a police officer on Thursday, March 12, 2026, in Los Angeles. (Daniel Cole/Pool Photo via AP)

Lil Nas X, whose legal name is Montero Lamar Hill, appears in court charged with four felony counts, including three counts of battery with injury on a police officer on Thursday, March 12, 2026, in Los Angeles. (Daniel Cole/Pool Photo via AP)

Lil Nas X, whose legal name is Montero Lamar Hill, appears in court charged with four felony counts, including three counts of battery with injury on a police officer on Thursday, March 12, 2026, in Los Angeles. (Daniel Cole/Pool Photo via AP)

Lil Nas X, whose legal name is Montero Lamar Hill, appears in court charged with four felony counts, including three counts of battery with injury on a police officer on Thursday, March 12, 2026, in Los Angeles. (Daniel Cole/Pool Photo via AP)

Lil Nas X, whose legal name is Montero Lamar Hill, is arraigned in court on four felony counts, including three counts of battery with injury on a police officer, Monday, Aug. 25, 2025, in Los Angeles. (Frederic J Brown/Pool Photo via AP)

Lil Nas X, whose legal name is Montero Lamar Hill, is arraigned in court on four felony counts, including three counts of battery with injury on a police officer, Monday, Aug. 25, 2025, in Los Angeles. (Frederic J Brown/Pool Photo via AP)

Lil Nas X, whose legal name is Montero Lamar Hill, is arraigned in court on four felony counts, including three counts of battery with injury on a police officer, Monday, Aug. 25, 2025, in Los Angeles. (Frederic J Brown/Pool Photo via AP)

Lil Nas X, whose legal name is Montero Lamar Hill, is arraigned in court, next to his attorney Christy O’Connor, on four felony counts, including three counts of battery with injury on a police officer, Monday, Aug. 25, 2025, in Los Angeles. (Frederic J Brown/Pool Photo via AP)

Lil Nas X, whose legal name is Montero Lamar Hill, is arraigned in court, next to his attorney Christy O’Connor, on four felony counts, including three counts of battery with injury on a police officer, on Monday, Aug. 25, 2025, in Los Angeles. (Frederic J Brown/Pool Photo via AP)

Lil Nas X, whose legal name is Montero Lamar Hill, is arraigned in court on four felony counts, including three counts of battery with injury on a police officer, Monday, Aug. 25, 2025, in Los Angeles. (Frederic J Brown/Pool Photo via AP)

FILE – Lil Nas X arrives at the 64th Annual Grammy Awards at the MGM Grand Garden Arena on Sunday, April 3, 2022, in Las Vegas. (Photo by Jordan Strauss/Invision/AP, File)

FILE – Lil Nas X performs at the Austin City Limits Music Festival on Oct. 8, 2022, in Austin, Texas. (Photo by Jack Plunkett/Invision/AP, File)

FILE – Lil Nas X appears at the WSJ. Magazine Innovator Awards in New York on Nov. 1, 2021. (Photo by Evan Agostini/Invision/AP, File)

FILE – Lil Nas X arrives at the 36th annual GLAAD Media Awards on Thursday March 27, 2025, at the Beverly Hilton Hotel in Beverly Hills, Calif. (Photo by Jordan Strauss/Invision/AP, File)

Lil Nas X arrives at the 36th annual GLAAD Media Awards on Thursday March 27, 2025, at the Beverly Hilton Hotel in Beverly Hills, Calif. (Photo by Jordan Strauss/Invision/AP)

Lil Nas X arrives at the 36th annual GLAAD Media Awards on Thursday March 27, 2025, at the Beverly Hilton Hotel in Beverly Hills, Calif. (Photo by Jordan Strauss/Invision/AP)

Lil Nas X arrives at the 36th annual GLAAD Media Awards on Thursday March 27, 2025, at the Beverly Hilton Hotel in Beverly Hills, Calif. (Photo by Jordan Strauss/Invision/AP)

Lil Nas X arrives at the MTV Video Music Awards on Wednesday, Sept. 11, 2024, at UBS Arena in Elmont, N.Y. (Photo by Evan Agostini/Invision/AP)

Lil Nas X arrives at the premiere of “Beverly Hills Cop: Axel F” on Thursday, June 20, 2024, in Beverly Hills, Calif. (Photo by Richard Shotwell/Invision/AP)

Lil Nas X arrives at the premiere of “Beverly Hills Cop: Axel F” on Thursday, June 20, 2024, in Beverly Hills, Calif. (Photo by Richard Shotwell/Invision/AP)

Raul Lopez, left, and Lil Nas X attend The Metropolitan Museum of Art’s Costume Institute benefit gala celebrating the opening of the “Sleeping Beauties: Reawakening Fashion” exhibition on Monday, May 6, 2024, in New York. (Photo by Evan Agostini/Invision/AP)

Lil Nas X poses in the press room at the MTV Video Music Awards on Tuesday, Sept. 12, 2023, at the Prudential Center in Newark, N.J. (Photo by Evan Agostini/Invision/AP)

Lil Nas X performs during the Glastonbury Festival in Worthy Farm, Somerset, England, Sunday, June 25, 2023. (Scott Garfitt/Invision/AP)

Lil Nas X performs during the Glastonbury Festival in Worthy Farm, Somerset, England, Sunday, June 25, 2023. (Scott Garfitt/Invision/AP)

Lil Nas X performs during the Glastonbury Festival in Worthy Farm, Somerset, England, Sunday, June 25, 2023. (Scott Garfitt/Invision/AP)

Lil Nas X performs during the 2023 Bonnaroo Music and Arts Festival on Saturday, June 17, 2023, in Manchester, Tenn. (Photo by Amy Harris/Invision/AP)

Lil Nas X performs during the 2023 Bonnaroo Music and Arts Festival on Saturday, June 17, 2023, in Manchester, Tenn. (Photo by Amy Harris/Invision/AP)

Lil Nas X performs during the 2023 Bonnaroo Music and Arts Festival on Saturday, June 17, 2023, in Manchester, Tenn. (Photo by Amy Harris/Invision/AP)

Lil Nas X performs during the 2023 Bonnaroo Music and Arts Festival on Saturday, June 17, 2023, in Manchester, Tenn. (Photo by Amy Harris/Invision/AP)

Lil Nas X performs on day three of the BottleRock Napa Valley Music Festival on Sunday, May 28, 2023, at the Napa Valley Expo in Napa, Calif. (Photo by Amy Harris/Invision/AP)

Lil Nas X performs on day three of the BottleRock Napa Valley Music Festival on Sunday, May 28, 2023, at the Napa Valley Expo in Napa, Calif. (Photo by Amy Harris/Invision/AP)

Lil Nas X is seen day three of the BottleRock Napa Valley Music Festival on Sunday, May 28, 2023, at the Napa Valley Expo in Napa, Calif. (Photo by Amy Harris/Invision/AP)

Lil Nas X attends The Metropolitan Museum of Art’s Costume Institute benefit gala celebrating the opening of the “Karl Lagerfeld: A Line of Beauty” exhibition on Monday, May 1, 2023, in New York. (Photo by Evan Agostini/Invision/AP)

Lil Nas X attends The Metropolitan Museum of Art’s Costume Institute benefit gala celebrating the opening of the “Karl Lagerfeld: A Line of Beauty” exhibition on Monday, May 1, 2023, in New York. (Photo by Evan Agostini/Invision/AP)

Lil Nas X arrives at the Versace Fall/Winter collection presentation on Thursday, March 9, 2023, at the Pacific Design Center in West Hollywood, Calif. (Photo by Jordan Strauss/Invision/AP)

Lil Nas X arrives at the Pre-Grammy Gala on Saturday, Feb. 4, 2023, at the Beverly Hilton Hotel in Beverly Hills, Calif. (Photo by Richard Shotwell/Invision/AP)

Lil Nas X arrives at the Pre-Grammy Gala on Saturday, Feb. 4, 2023, at the Beverly Hilton Hotel in Beverly Hills, Calif. (Photo by Richard Shotwell/Invision/AP)
Show Caption
1 of 37
Lil Nas X, whose legal name is Montero Lamar Hill, appears in court charged with four felony counts, including three counts of battery with injury on a police officer on Thursday, March 12, 2026, in Los Angeles. (Daniel Cole/Pool Photo via AP)
The court found that the incident was the result of his since-diagnosed bipolar disorder and was an aberration from his usual behavior.
The program, formally known as postponement of prosecution probation, also requires that he not possess guns or threaten violence.
Authorities allege that the 26-year-old was walking naked down a street in the San Fernando Valley community of Studio City in August, and charged at police officers who were responding to calls about him. A criminal complaint says three officers were hurt. Photos and video apparently shot before the police confrontation showed him walking in the street in only white briefs and white boots.
He pleaded not guilty to three felony counts of battery with injury on a police officer along with one count of resisting an executive officer.
A few days later in a video posted to Instagram, Lil Nas X, who was free on bail, said “these last four days have been terrifying” but reassured fans that he would be fine.
Outside court on Monday he told Rolling Stone, which first reported on the diversion agreement, that he is “thankful. Just very thankful,” and that it “could have been much worse.”
The District Attorney’s Office did not respond to a request for comment.
The Atlanta artist is best known for 2018’s country and hip-hop merging “Old Town Road,” which spent a record 19 weeks at No. 1 on the Billboard Hot 100 and won him two Grammys.
Known for his genre-bending, innovating sounds and style, Lil Nas X’s first full studio album, 2021’s “Montero,” went to No. 2 on the Billboard album chart and was nominated for a Grammy for album of the year. Other hits have included “Industry Baby” and “Montero (Call Me by Your Name).”