SAN FERNANDO (CNS) — A 30-year-old man was sentenced to three years probation for punching his 3-year-old German shepherd.

Mohamad Taghavi pleaded no contest on Sept. 22 to one felony count of animal cruelty. An allegation that he used a metal chain leash as a deadly weapon was dropped as part of the plea deal, according to the Los Angeles County District Attorney’s Office.

Prosecutors said Taghavi punched the dog, Kaiser, multiple times and struck him with a metal chain leash while at a food truck in Castaic on Sept.10. Taghavi also yanked on the dog’s chain after he tried to hide under the truck, causing the animal to whimper.

The dog owner was arrested that day by sheriff’s deputies. Kaiser was placed under the care of the Los Angeles County Department of Animal Care and Control.