An officer caught up with Melgoza on the 200 block of Maple Avenue. Melgoza pushed away from the officer and the officer subdued him with a Taser gun, Gonzalez said.

Authorities found a meth pipe on him and a loaded handgun in the path of the pursuit.

Melgoza was arrested on suspicion of being a felon in possession of a gun, carrying a gun with a prior conviction, possession of drug paraphernalia, resisting arrest, participation in a criminal street gang and a probation violation, police said.

He was also arrested on suspicion of carrying a gun near a school because the corner is near Watsonville High School.

Because he was Tased, Melgoza was taken to a hospital for a routine evaluation before he he was booked in to County Jail.

He is being held in County Jail in lieu of $50,000 bail, according to jail records.