STOCKTON (CBS13) – A Stockton robbery suspect got more than he bargained for on Monday after residents inside a home he allegedly targeted fought back.

At 10:19 Monday night, Miguel Gonzalez, 21, and another suspect went to a home on the 700 block of Belvedere Avenue and knocked on the door, requested to use the phone and then pushed their way inside, according to the Stockton Police Department.

READ MORE: Gov. Newsom Makes California’s Voting By Mail System Permanent

“There is no reason for someone to go and try to steal, or get their property,” neighbor Cilia Gomez said of the suspects.

Miguel Gonzalez (credit: Stockton P.D.)

Miguel Gonzalez (credit: Stockton P.D.)

Gonzalez reportedly pulled out a gun and went to the back of the home. A fight ensued between the residents and Gonzalez and his accomplice. The accomplice got away, but the residents were able to overpower Gonzalez and hold him until police arrived.

“It’s dangerous, because they have their kids inside,” said family friend Trina Melgoza. Adding, she would do the same thing. “I would for safety of my kids.”

READ MORE: Sheriff: Car-To-Car Shooting Near Large Party In Yuba City Leaves 1 Hurt

Gonzalez was taken to an area hospital and treated for injuries to his face. After he was given medical clearance, he was arrested for residential robbery and booked into the San Joaquin County Jail.

“Everyone has the right to defend people they love. They probably did the right thing for his family, they’re safety,” said Gomez.

The gun Gonzalez reportedly had turned out to be a pellet gun.

MORE NEWS: R. Kelly Found Guilty Of All Counts In Sex Trafficking, Racketeering Trial

Police described the other suspect as a black male, 20-30 years old, 5 feet 8 inches to 6 feet tall with a thin build. He was wearing a dark, puffy jacket, dark jeans and a black beanie.