Transformers star Shia LaBeouf has pleaded guilty to charges of disorderly conduct filed earlier this year when he interrupted a theatre performance and then resisted removal from the venue. Under the terms of the plea he will avoid jail time or probation, but will have to attend all court appointments and complete a three month treatment programme.

Shia LaBeouf Mia Goth
Labeouf pictured with girlfriend Mia Goth

According to the BBC, LaBeouf was arrested after "smoking, shouting at actors and using abusive language" whilst attempts were made to remove him from the theatre audience. The incident occurred during a performance of hit musical Cabaret in New York, starring Michelle Williams and Alan Cumming. However Scott Gorenstein, the rep for Liza Minnelli, made light of the siutation when he sent a DVD of the 1972 film adaptation of the musical to LaBeouf, telling Us Weekly "I figured he may want to find out how it ends."

More: Shia LaBeouf Struggles Past The Surging Paps As He Arrives Outside Manhattan Criminal Court

More: Shia Labeouf Leaves Midtown Community Court In Ripped Blue Shirt

Back on June 27th, the night after the incident, Alan Cumming, who plays the Emcee in the production, tweeted "Our @Cabaret_Musical Stage Manager last night at intermission: This is your places call and Shia (LaBeouf) has left the building in handcuffs".

It's been a weird year for Shia, who was accused of plaigerism in December, announced on Twitter "In light of the recent attacks against my artistic integrity, I am retiring from all public life." in January, and then stormed out of a press conference for Lars Von Trier's Nymphomanic in February.

In court Judge Diana Boyar asked LaBeouf "Are you pleading guilty because you are guilty?" to which he replied "Yes, your honour." The actor made no comment as he left court.

He will next be seen in war drama Fury, directed by David Ayer and co-starring Brad Pitt and Jason Isaacs.

More: Shia LaBeouf's Rep Confirms Actor Is Not In Rehab & "Receiving Treatment" For Alcoholism