Lil Nas X was hospitalized and then arrested following a bizarre incident in Los Angeles Thursday.

The “Industry Baby” rapper, 26, was seen in video obtained by TMZ wearing only white underwear and boots while roaming around Ventura Boulevard around 4 a.m. local time, per the outlet.

When spotted by a fan, he reportedly told them he was headed to a party and put an orange traffic cone on his head, as shown in the video.

Multiple people called police to report the incident and the Los Angeles Police Department arrived on the scene at around 5:50 a.m. local time, a public information officer tells Page Six.

We’re told “Montero” rapper charged at the officers and so he was “taken into custody” and “transported to a local hospital for a possible overdose.”

Lil Nas X was roaming the streets of LA nearly naked Thursday. TMZ

He was then taken to a hospital, per a public information officer. TMZ

Lil Nas X charged at police when they arrived. TMZ

The PIO says the “Old Town Road” rapper was then placed under arrest for battery on a police officer, which is a misdemeanor charge. A source told NBC News Lil Nas X punched an officer twice in the face.

Records show the musician was booked at 11:22 a.m. local time and he is being held at Van Nuys Jail.

Reps for Lil Nas X did not immediately return Page Six’s request for comment.

The Atlanta-born entertainer, whose real name is Montero Lamar Hill, has not yet addressed the ordeal.

Prior to Thursday’s antics, Lil Nas X exhibited peculiar social media activity. He shared at least 11 photos via his Instagram of a disorganized house with pieces of art and furniture scattered around.

At one point, he picked up a traffic cone and put it on his head. TMZ

Multiple people had reportedly called the cops to report a possible overdose. TMZ

In two of the pics, he was seen lunging as he posed in mirror selfies. One of the captions read, “And just like that she’s back. We’ve all waited so long. When dreamworld needed her the most. 😕🥲.”

The “That’s What I Want” rapper also captioned a selfie of himself, “OH NO sHES GONE MAD! CRAZY I TELL U! 😭🙏🏾😈❤️”

Earlier on Thursday, Lil Nas X shared a video via his Instagram Story as well, in which he was seen riding shotgun in a car and dancing while Marvin Gaye’s “Sexual Healing” played over the clip.

The Grammy winner has been open about his drug use in the past.

Want more celebrity and pop culture news?

Start your day with Page Six Daily.

Thanks for signing up!

The Grammy winner’s recent social media activity was peculiar. Instagram / @lilnasx

Reps for the rapper did not immediately return Page Six’s request for comment. Christopher Sadowski

In 2021, he shared that he took psychedelic mushrooms while creating his album “Montero.”

Lil Nas X also told Variety in 2020 that after the death of his grandmother two years prior, he self-medicated by “smoking [weed] heavily.”

However, he added at the time, “But then I started feeling more connected with the universe, and taking everything as a sign.”

If you or someone you know is affected by any of the issues raised in this story, call the Substance Abuse and Mental Health Services Administration’s National Helpline at 800-662-4357.