The San Jose man jailed in the beating of a California Highway Patrol officer outside Vallejo is a disgruntled former Santa Clara County employee who once crashed his pickup truck into his workplace and threatened to kill Santa Clara County supervisors, officials say.

Gary Emil Coslovich, 49, is being held without bail in Solano County on suspicion of crimes including attempted murder and battery on a police officer stemming from a violent clash on Interstate 80 near American Canyon on Saturday morning.

But in the lead-up to that encounter, he was being sought by South Bay authorities trying to serve him a restraining order stemming from an early-morning May 1 incident where Coslovich, who worked as a painter in Santa Clara County’s fleet and facilities division, drove his pickup truck into the lobby of his workplace off Berger Drive in North San Jose. He was terminated after the incident.

Surveillance video apparently shows Coslovich then placing a “Make America Great Again” hat and a Donald Trump bumper sticker in the lobby before leaving, said Michael Rossi, lead deputy county counsel who filed the subsequent restraining order against Coslovich.

Rossi said that same day, Coslovich drove to Roseville, where he was arrested on suspicion of DUI by local police and then brought back to Santa Clara County on an arrest warrant for the lobby crash.

While being interviewed by Santa Clara County Sheriff’s deputies, Coslovich reportedly told them he wanted to “kill and blow up the Board of Supervisors,” Rossi said, who added that the suspect also told coworkers that he was angered by the supervisors’ filing of an injunction against a Trump administration executive order to take away federal funding from so-called sanctuary cities and counties.

Get top headlines in your inbox every afternoon.

Sign up for the free PM Report newsletter.

Coslovich was placed on a 72-hour psychiatric hold following his detainment, and a week later, Rossi filed the restraining order on behalf of the Santa Clara County supervisors. However, Coslovich could not be immediately located and served, and authorities were told that he relocated to Boise, Idaho.

But Coslovich popped up on authorities’ radar last week when he was again contacted by police in Roseville. Rossi said the county was aiming to serve him with the restraining order this past weekend, but they never got the chance.

On Saturday, authorities say Coslovich was seen driving that same pickup truck erratically in the westbound lanes heading toward Vallejo and caused at least two wrecks before eventually coming to a stop in the left lane, presumably due to collision damage.

A CHP officer dispatched to the scene caught up to the disabled vehicle and called for Coslovich to get out of his vehicle, according to an incident report. Both the CHP and eyewitnesses said Coslovich rushed the officer and punched her in the face, knocking her down, then punching and kicking her on the ground.

Fatefully, one of those eyewitnesses was 61-year-old Fairfield resident Joel Jones, a Crockett pastor and former Oakland and San Francisco law-enforcement officer, who followed the truck with his wife and was among several 911 callers. Jones got out of his vehicle and tackled Coslovich and held him down with the help of other bystanders until other CHP officers arrived to arrest him.

The injured female officer is recovering from her injuries, the CHP said.

And with Coslovich firmly in jail custody, he will finally be served with the restraining order, Rossi said. As it happens, there was a scheduled hearing Tuesday in which a judge continued the order.

“He will be served within the week,” Rossi said.