US actor Ezra Miller has pleaded guilty to unlawfully trespassing at a neighbour’s house, as part of a plea deal to avoid going to prison.
The Fantastic Beasts and Justice League star had faced a trial and possible jail time for a burglary charge, which has now been dropped.
According to BBC News, Miller, 30, appeared in court in Bennington, Vermont, on Friday.
The star will now be on probation for a year, must pay a $500 (£410) fine and must give up alcohol.
Miller, who uses they/them pronouns, will also have to do random drug tests and continue seeking mental health treatment.
They were accused of breaking into a house near where they lived and stealing bottles of alcohol from the kitchen last May.
The actor, who plays the Flash in DC Comics films, originally pleaded not guilty to burglary and larceny as well as trespassing, but the former two charges have been dropped in exchange for a guilty plea to the latter.