A 23-year-old Palmdale man pleaded no contest this week to felony animal cruelty for kicking two of his family’s dogs, including one that had to be euthanized as a result of its injuries.

Andres Garcia is expected to be sentenced April 19 to 489 days already served in jail, 30 days of community labor, five years of felony probation, according to the Los Angeles County District Attorney’s Office.

He must also complete 48 animal cruelty counseling sessions, and will be barred from owning any animal for 10 years, according to Deputy District Attorney Amarilla Blondia.

Garcia kicked and chased the two dogs—both Chihuahuas—in his back yard on Aug. 31, 2015, causing serious injuries to both pets, the prosecutor said.

One of the dogs had to be euthanized due to the severity of its injuries, according to Blondia.

Garcia’s family called the Los Angeles County Sheriff’s Department after they were unable to stop the attack, and Garcia swung one of the dogs at a responding deputy, the prosecutor said.