HANFORD — Police arrested a man who was under the influence of methamphetamine Wednesday after he sent threatening text messages and fired three shotgun rounds outside a home in Hanford.

When officers arrived at the scene in the 1200 block of Manor Avenue around 6:30 a.m., they said 40-year-old Eric Avina was standing in the driveway of a home holding the shotgun.

As officers approached, Avina started to walk down the street holding the shotgun, police said. They said Avina was ordered to drop the shotgun and he ultimately surrendered.

Avina was found to be under the influence of methamphetamine and was in possession of a small amount of meth as well, officers said.

Police said victims involved in the case were at the scene and had threatening text messages from Avina on their phones, which made them fear for their lives.

While investigating, officers said they learned from witnesses that Avina had fired off three shotgun rounds outside before they arrived.

Officials said Avina was booked into Kings County Jail on suspicion of criminal threats, committing a crime for the benefit of a criminal street gang, negligent discharge of a firearm, being under the influence of a controlled substance and possession of a controlled substance.

Police said the shotgun and a separate firearm were confiscated from the scene.