San Bernardino County Sheriff’s deputies on Friday evening apprehended a man suspected of earlier in the day walking into a Rancho Cucamonga training seminar at his former employer and, in the course of a struggle, firing a gunshot and pepper-spraying a contract worker.

The suspect, Pascual Ortega, 41, Rancho Cucamonga, was recently terminated from the Goodyear plant in the 9600 block of Feron Boulevard, according to San Bernardino County sheriff’s Sgt. Marc Bracco.

He was taken into custody, at his brother’s residence in Baldwin Park, without incident and there were no injuries to deputies or the suspect, Bracco said. He was in the front yard when officers arrived, the statement said.

Ortega was to be interviewed by investigators late Friday. After the interview, he was to be booked into the West Valley Detention Center on suspicion of attempted murder, the Sheriff’s department said in a statement.

The person leading the training – a contract employee – saw the agitated suspect reach for his waistband. Thinking that the fired worker was reaching for a gun, the contract employee began wrestling with him, Bracco said.

The suspect then produced a .22-caliber Ruger semi-automatic pistol, and while struggling with the contract employee a single gunshot was fired; no one was hit, Bracco said.

While the .22-caliber round is among the least-powerful made, Bracco said it still has the potential to be lethal. The weapon in Friday’s incident had a 10-round magazine, standard for that type of pistol, though officials didn’t immediately say how many rounds were in the magazine.

Bracco said the contract employee was able to wrestle the gun away from the suspect.

The suspect then fled, Bracco said, and the contract employee pursued him. The suspect then turned and squirted pepper spray into the contract employee’s face and eyes. The contract employee retained control of the pistol.

Blinded, the contract employee, a 40-year-old resident of Pico Rivera who officials did not identify, stopped pursuing the man.

After the incident, Goodyear management gave its employees the rest of Friday off, Bracco said.