A man attempted to stab GOP congressional candidate Rudy Peters during a fall festival Sunday.

On Tuesday, Alameda County Sheriff’s Department confirmed the attempted stabbing in Castro Valley, Calif., and the suspect, Farzad Fazeli, is in custody, a local CBS affiliate reported .

Sunday afternoon, the sheriff’s office was alerted to the knife attack at one of the vendor booths at the Castro Valley Fall Festival. When the 35-year-old attacker was taken into custody after fleeing the scene, authorities found he was in possession of a switchblade knife.

Witness accounts say that Fazeli aggressively approached Peters at his booth at the fair before making profanity-filled statements about the Republican Party and President Trump, he then pulled out a knife and got into a physical struggle with Peters.

No one was seriously injured as a result of the altercation.

Fazeli was arrested for felony assault, criminal threats, brandishing a weapon, and possession of a switchblade knife.

Peters is running against Democratic incumbent Rep. Eric Swalwell.