SAN JOSE — A Brentwood man was arrested Wednesday night in connection with a sideshow involving 50 motorcycles on Interstate 680 during which he and others allegedly ignored a CHP officer’s request to pull over while speeding and riding recklessly.

Guruardas Singh Khalsa, 32, allegedly filmed the group performing stunts on southbound I-680 between Milpitas and San Jose, and waved off the California Highway Patrol officer who tried to stop them, CHP officials said during a Thursday news conference.

Khalsa, described by the CHP as a “professional or semiprofessional” stunt motorcycle rider, was taken into custody Wednesday night and booked on suspicion of accessory after the fact and commission of a felony. Capt. Les Bishop said the felony is evasion of a CHP officer.

“Any group or motorcycle rider that thinks they are going to get away with this kind of behavior on our freeways, just know that while apprehension may not be immediate, it is likely imminent,” Bishop said.

The CHP said it will be seeking more search and arrest warrants in the case.

“We do anticipate additional evidence surfacing and additional individuals taken into custody,” CHP Capt. Jim Libby said.

The incident on Oct. 11 went viral when someone posted video of a group of about 50 riders speeding and weaving around each other along I-680, doing wheelies and standing on their bikes as they ride. A CHP motorcycle officer is among them, sirens blaring, attempting to get the group’s attention and pull over several of the riders.

At one point, one of the motorcyclists speeds past the officer, weaving across traffic lanes. The officer follows, but then the motorcyclist filming the entire incident on his helmet camera pulls up next to the CHP officer, shooing him away.

In the video, the officer can be heard yelling at the motorcyclists, “No more” and, “Knock it off.” The rider filming the incident again waves off the officer, who eventually rides off.

Although the motorcycle officer was never able pull over any of the riders, he did call for backup while he tailed the group, Officer Ross Lee said. He pulled over and waited for another CHP officer to help him follow the group until they left the freeway.

“The overriding theme is that the safety of the public and their ability to travel or freeways is of paramount importance to us,” Libby said. “When you have groups like this engaging in criminal acts which endanger other motorists, this is something we take very seriously.”

Investigators, through multiple sources, identified Khalsa as the rider/videographer and arrested him at his home. The CHP said Khalsa’s postings on social media helped them tie him to the case and provided information about his profession.

“The initial posting on the social media site helped direct the officers, and it linked to other information Mr. Khalsa had posted about himself online,” Libby said. “It literally turned into an electronic jigsaw puzzle with Mr. Khalsa providing us all the pieces.”

Contact Mark Gomez at 408-920-5869. Follow him at Twitter.com/markmgomez.