The Flash star Ezra Miller has begun treatment to help with a series of "complex mental health issues".
The actor, who identifies as they/them, apologised to those they had "alarmed and upset" with their past behaviour and said they were "committed" to recovery.
It comes after Miller was charged by US police over an alleged burglary in the state of Vermont. Miller is expected to appear in Vermont Superior Court in September.
They have been embroiled in multiple controversies in the past several months, including being arrested twice in Hawaii on charges of second-degree assault and disorderly conduct at a karaoke bar.
"Having recently gone through a time of intense crisis, I now understand that I am suffering complex mental health issues and have begun ongoing treatment," Miller said in a statement shared with US media outlets.
"I want to apologize to everyone that I have alarmed and upset with my past behavior.
"I am committed to doing the necessary work to get back to a healthy, safe and productive stage in my life."
It comes as Warner Bros confirmed that superhero blockbuster The Flash is still going ahead amid the ongoing controversies involving its star, with DC franchise boss David Zaslav saying he was "very excited" for the movie to be released.
Source: Press Association