FAIRFIELD, Calif. (KTXL) — Fairfield police said an officer shot a man who pointed a gun at them while trying to run away. 

According to police, officers responded to reports of a man loitering and possibly setting up a camp on Commerce Court. Police said the officers approached the man, identified as Robert Wilson. 

Wilson reportedly had an arrest warrant out for missing a court date relating to a domestic violence case. Officers tried to arrest him, but police said he drove away in his car. 

Not long after driving away, one of the tires on his car flattened. He got out of the car and ran away. 

Officers chased him, and Wilson allegedly pointed a gun at them. Police said Wilson was then shot. He was taken to a hospital with injuries that were not life-threatening. 

Police said they found five guns, but they turned out to be BB guns. One more gun was found, but they were not able to determine if it was real or not as of Monday night. 

No officers were injured.