LaBeouf was arraigned Friday at Midtown Community Court, where he pleaded not guilty to charges of trespassing, disorderly conduct and harassment. Prosecutors asked for $2,500 bail but LaBeouf was released on his own recognizance. His next court date is July 24.

A representative for the actor did not immediately respond to a request for comment.

LaBeouf’s behavior in recent years — from alleged plagiarism to wearing a paper bag over his head on the red carpet, to sparring with Alec Baldwin during the production of “Orphans” — has come under scrutiny.

The actor appears in the upcoming WWII film with Brad Pitt called “Fury.”