Shia LaBeouf pleaded guilty Wednesday to three counts of simple battery and was sentenced to probation for a Mardi Gras brawl in New Orleans.

He will be required to attend an alcohol treatment program, Laboeuf’s attorney, Sarah Chervinsky, told the AP.

The “Transformers” actor was arrested shortly after midnight on February 17 after being escorted out of a bar in the French Quarter. A video of the altercation showed LaBeouf shoving a person to the ground and hitting a person in the face. A New Orleans police report said the punch to the victim “caused his nose to possibly dislocate.”

Judge Juana Marine-Lombard gave LaBeouf a six month suspended sentence plus two years of probation. He was ordered to stay away form the three victims as well as the bar. LaBeouf had been ordered to attend drug and alcohol treatment after he was originally charged.

“Mr. LaBeouf came to court today wanting to take accountability for his part in what happened, and he has done so,” Chervinsky told the AP. “Now he’s looking forward to focusing on family, work, and new creative projects.”