A man was sentenced this week after strapping fireworks to a pit bull, lighting the fireworks on fire, and leaving the dog injured.

According to S.T.A.R.T Shelter Transport Animal Rescue Team, Carlos Duarte was sentenced to six months in county jail with two years probation, drug and alcohol counseling and animal sensitivity counseling. The judge also ruled he's not allowed to own an animal for 10 years.

Duarte had left the dog near Laurel Canyon and Victory Boulevard in Los Angeles.

The dog, named Indy, was rescued by a passerby and taken to a veterinarian.

Indy was later adopted by a family, and is in good health. The dog's Facebook page has over 8,000 likes.

Duarte will be taken into custody September 30.