A Novato man with a history of threatening behavior was arrested Monday on allegations of throwing a bag of biowaste and chemicals at a San Marin supermarket.

Charles Byon Nishi, 45, was booked into Marin County Jail on suspicion of vandalism, unlawful release of offensive matter at a business, unlawful dumping of waste matter on private property and possession of methamphetamine.

The incident occurred at about 5 p.m. Sunday at the Harvest Market on San Marin Drive. Witnesses told police that a man threw a malodorous bag of substances, possibly including red paint, at the meat counter of the store. The substance spilled out and the vandal fled.

The store was shut down and cleared of employees and customers while the Marin County Hazardous Materials Response Team investigated the spilled substance. The team determined that the substance was a mix of urine, feces, paint and rubbing alcohol, said Novato fire Battalion Chief Jeff Veliquette.

Police identified Nishi as the suspect and found him Monday morning at a homeless encampment in the 1900 block of Novato Boulevard, said Novato police Sgt. Jay Demski.

Demski said the suspect did not state a motive. Police are investigating whether the incident was related to a confrontation the previous day involving Harvest Market employees and a suspected shoplifter.

Nishi has several prior cases in Marin Superior Court, including a 2010 incident when he emailed the U.S. Air Force with a threat to shoot Marin sheriff’s deputies and wildlife rangers. Nishi claimed that the deputies were illegally shooting “endangered lions” supposedly living in the Indian Valley Open Space Preserve.

“I am armed and will now fire on all Sheriff and Fish & Game after this email so either shut them down or put some boots on the ground to join the battle, remember that if they kill me what is going to happen to the human race by APOLLO or the same beings on Codex Dresden,” the email said.

The email prompted the county to withdraw open space rangers from the preserve until Nishi was found. He was located at a campsite near the College of Marin campus in Novato, along with a batch of shotgun shells but no gun, authorities said.

The case went to trial in Marin Superior Court. A jury acquitted Nishi of two counts of criminal threats but convicted him of a felony charge of interfering with law enforcement. The judge granted Nishi probation.

Nishi appealed the conviction, claiming the evidence should have been suppressed because the warrantless search of his campsite was a violation of his rights. He also claimed he was not allowed to testify in his own defense.

The conviction was affirmed in 2012 by the 1st District Court of Appeal in San Francisco. A three-judge panel ruled that Nishi had no privacy rights at his illegal campsite on public land, and that he did not ask to testify at the trial until the jury was already in deliberations.