MODESTO (CBS13) – The officer-involved shooting death of Eloy Gonzalez last year was ruled as justified.

Stanislaus County District Attorney Birgit Fladager made the announcement Tuesday.

READ MORE: Sudden Death Of 10-Year-Old Boy Who Had COVID-19 Leaves Elk Grove Family With Questions

Gonzales was shot by deputies on September 27, 2020 after he resisted arrest and attacked deputies with a hatchet, according to deputies.

READ MORE: Folsom Fire Department Ask The City To Declare Local Emergency

The incident started just before 5 a.m. after authorities received reports of a silent burglary alarm in the 800 block of Business Park Drive.

Gonzalez, a Hispanic man in his 40s, was found outside of the business and got into a scuffle with deputies while they attempted to arrest him. He was shot by deputies and died later at the hospital but not before he injured two of the deputies.

MORE NEWS: Woodland Bar Shuts Down After Maskless, Unvaccinated Customers Infect Staff With COVID-19

Both deputies were also taken to the hospital and were released after being treated.