A 27-year-old man is facing multiple criminal charges after he allegedly tried to perform a citizen’s arrest on the mayor of Martinez and got into a tussle with a Good Samaritan and police sergeant who tried to intervene, officials said.

Mayor Rob Schroder told The Chronicle he had just returned Thursday afternoon to Martinez to film an interview at his insurance company on Main Street when the man, whom he recognized from City Council meetings, approached him.

“Mr. Mayor, I am here to arrest you,” Schroder recalled the man saying while video-recording the interaction.

A police spokesman identified the suspect as Elijah Dominguez, a transient of Martinez. The Contra Costa County district attorney’s office filed charges Friday against Dominguez of criminal threats, false imprisonment by violence, resisting police, battery on a police officer, and battery.

He is being held at the Martinez Detention Facility on $500,000 bail, according to the DA’s office.

Schroder said that he told the man to stop and that he didn’t have time to waste. The man allegedly responded, “This is serious,” and tried to arrest the mayor by grabbing his hand.

“I said, ‘Don’t touch me,’” Schroder said.

A moment later, a man who was driving by stopped and ran up to the two.

The Good Samaritan asked the man, “Do you know who you are dealing with here?” He then told him to move away from the mayor, Schroder said.

The suspect allegedly took a swing at the man and the two started rolling and struggling on the ground, across the street from a Starbucks and near kids waiting for Santa and the film crew waiting for the mayor.

Schroder called 911 and about six police patrol cars arrived soon after, he said.

“He was biting and kicking,” Schroder said of the suspect, who allegedly bit a sergeant’s hand and the hand of the citizen who tried to stop him.

As officers tried apprehending him, the suspect yelled, “I’m going to be back,” Schroder said.

Lt. Mike Estanol, a Martinez police spokesman, said Dominguez frequents council meetings and is known to authorities. He has served time for biting a Contra Costa sheriff’s deputy, and he has been known to attempt citizen’s arrests on public officials.

“We are all familiar with him,” Estanol said. “He will show up to City Council meetings and not make any sense.”

Estanol said he couldn’t disclose information about the man’s mental health because of privacy laws, but he added: “It doesn’t excuse him.”

Once the tussle ended, Schroder said he thanked the Good Samaritan.

A day later, the mayor remained puzzled by the incident.

“I don’t know,” Schroder said. “It just makes no sense.”

Alejandro Serrano is a San Francisco Chronicle staff writer. Email: alejandro.serrano@sfchronicle.com Twitter: @serrano_alej