Shia LaBeouf has plead guilty to disorderly conduct after displaying erratic behavior while attending a performance of the Broadway show 'Cabaret' in June.

PEOPLE reports that LaBeouf has been in treatment for alcohol since his arrest, adding that his guilty plea does not come with a jail sentence or probation. If he stays in treatment for three months and "out of trouble" for six months, the site reports that the 'Transformers' star will be able to withdraw his plea and the case will then be dismissed.

LaBeouf was reportedly yelling at the actors (Alan Cumming and Michelle Williams), smoking cigarettes and cursing and spitting at security guards who escorted him out of the theater.

LaBeouf's guilty plea has been the latest of his bizarre troubles. Earlier this year, he admitted to plagiarizing words from a graphic novel for his short film, headbutted a man at a bar, and wore a paper bag on his head that read 'I am not famous anymore' to his film premiere.