Ezra Milleris back in Los Angeles after theypleaded guilty to a misdemeanor chargein an agreement with prosecutors to drop two charges, including felony burglary.

On Monday, Miller, 30, was spotted arriving at the Los Angeles International Airport three days after the actor and their lawyer appeared at a hearing at Vermont’s Bennington County Superior Court, where Judge Kerry Ann McDonald-Cady reviewed the terms of the change-of-plea agreement and sentencing.

Rather than pursue a jury trial, Milleropted to plead guilty to misdemeanor unlawful trespass, admitting they were on the victim’s property May 1, 2022, in Stamford, Vermont, without the owner’s permission.

The felony burglary and petit larceny charges are dismissed without prejudice, meaning the case is closed if the yearlong probation is not violated. (Miller wasfacing charges after allegedly taking alcohol from a man’s homein Stamford. The actorentered not guilty pleasto the felony charges in October.)

SplashNews.com

Ezra Miller lands at LAX airport after pleading guilty to unlawfully trespassing at a neighbour’s house and avoiding going to prison. The Flash actor wore an eye-catching outfit as they strolled through the airport in Los Angeles. Wearing a bold animal printed shirt, Ezra was ready to smoke after their flight. It’s been a tumultuous couple of years for the 30-year-old who was also arrested twice in Hawaii in 2022.

The prosecutor said the agreement “has the benefit of ensuring the compliance with the conditions, which protect the victim, but it also allows the defendant to continue their employment as well as continue the mental health treatment. So, given all that, the victim is in support of the agreement.”

Vermont Superior Courts

Ezra Miller court

Never miss a story — sign up forPEOPLE’s free daily newsletterto stay up-to-date on the best of what PEOPLE has to offer, from juicy celebrity news to compelling human interest stories.

The judge said she found that the agreement is “very sound” and an “equal balance between rehabilitation and punishment.”

Ezra Miller in 2019.Dimitrios Kambouris/Getty

Ezra Miller attends Time 100 Next at Pier 17 on November 14, 2019 in New York City

Aftermonths of alarming behaviorand other arrests, the actor — who stars in the upcomingThe Flashfilm, scheduled to be released in theaters June 16 — issued a statement in August apologizing, saying they were seeking treatment for mental health issues.

“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 at the time. “Iwant to apologize to everyonethat 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.”

source: people.com