A deputy who was checking the area spotted the man and attempted to contact him, but the suspect made a run for it.
The deputy chased the suspect, 40-year-old Bernardino Calderon, who came to a stop at a yard on the corner of Fourth Street and Avenue C.
When Calderon reached for something from his waist band, the deputy feared for his life and shot Calderon in the leg once. Calderon still managed to jump a fence, but he didn't get far. He was found hiding in a different yard on Fourth Street and was taken into custody.
He was taken to Loma Linda University Medical Center where he was treated for his gunshot wound in the leg.
Calderon was booked into a San Bernardino detention center and was being held without bail. He had an active warrant for violating parole.
Anyone with information regarding this incident is urged to contact authorities at (909) 387-3589.