LOS ANGELES (CNS) — Actor Shia LaBeouf successfully completed a 12-month diversion program, and a judge Friday formally dismissed a criminal case in which he was charged with misdemeanor battery and petty theft stemming from a 2020 verbal altercation.

The 35-year-old actor was ordered last year to stay 100 yards away from the alleged victim and the location of the alleged incident — 4220 W. Sunset Blvd. in Los Angeles — and not to own or possess any weapons, according to the Los Angeles City Attorney’s Office.

LaBeouf was also ordered to participate in at least one therapy session per week that addresses anger management, utilize an alcohol-monitoring device, be randomly tested for alcohol intake, continue to participate in a 12-step program and not to use any force or violence, according to the City Attorney’s Office.

Attorneys in court Friday said he successfully completed the diversion program.

The case stemmed from a June 2020 run-in, during which the actor allegedly took a man’s hat following a verbal altercation that turned physical.

LaBeouf’s film credits include “Disturbia,” “Honey Boy,” “The Peanut Butter Falcon” and “Pieces of a Woman.”