Actor Shia LaBeouf has pleaded guilty to disorderly conduct stemming from an incident at a Broadway show.
The plea was entered before a Manhattan judge.
If LaBeouf remains in treatment for three months and stays out of trouble for six months, he will be able to withdraw the plea and the case will be dismissed.
Disorderly conduct is a violation, not a criminal offence.
LaBeouf was accused of disrupting a performance of 'Cabaret' starring Alan Cumming.
His publicist has said the episode stemmed from an alcohol problem and that the actor has since had treatment.
LaBeouf is best known for appearing in the first three 'Transformers' films.