Receive the latest local updates in your inbox

Shia LaBeouf had no comment as he left court Friday following his arrest the night before at a Broadway theater. He had been accused of being disruptive by smoking and yelling in the audience. (Published Friday, June 27, 2014)

Updated at 6:57 AM EDT on Saturday, Jun 28, 2014

Actor Shia LaBeouf is accused of disrupting a Broadway show by yelling and smoking during the performance, and prosecutors say he later unleashed a tirade of expletives and a gay slur at police, saying "Do you know who I am?"

LaBeouf, the star of the blockbuster "Transformers" film series, allegedly had an outburst during the first act of "Cabaret" at the Studio 54 theater on West 54th Street.

Famous Mug Shots: Rick Ross

LaBeouf, who was in the audience, was led out by police during a break in the show.

"He was disruptive during Act 1 and escorted out of Studio 54 at intermission," said a representative for the theater.

Top Celeb Pics: Lollapalooza Festival

Prosecutors say his troubles continued at a Manhattan precinct, where he allegedly told a police officer: "I'll end your life. Do you know who I am?" before launching into an expletive-laden rant that included a gay slur.

He spent the night at the precinct and pleaded not guilty at a court appearance Friday. He had no comment when he left court, his blue T-shirt ripped on both shoulders.

Tony-nominated songwriter Benj Pasek tweeted Thursday night that he saw the former "Even Stevens" actor outside the theater, surrounded by officers and in tears.

"Just saw Shia LaBeouf in handcuffs in tears surrounded by six police officers outside of Cabaret the musical," Pasek said.

Carlos Mancia, manager of a midtown restaurant, says LaBeouf was drinking cocktails there for several hours before the show. He described him as being in a great mood, watching World Cup games and taking photos with fans.

"He was having a good time, he is really, really nice," said Mancia.

The actor has made headlines for attention-grabbing behavior in the past, including posing on the red carpet with a paper bag over his head reading, "I Am Not Famous Anymore." He later turned the display into an art installation in Los Angeles, titled #IAMSORRY.

In January, LaBeouf -- who also starred in "Indiana Jones and the Kingdom of the Crystal Skull," "Nymphomaniac" and "Disturbia" -- announced on Twitter that he was "retiring from all public life." The proclamation came shortly after he was accused of plagiarizing a graphic novella for a short film he had directed.