FREMONT — A suspect who attempted to kidnap a group of three men led officers on a vehicle chase before being taken down by a police dog during a foot pursuit Tuesday night, police said.

Police on Wednesday identified the suspect as Robert Abeyta, 30, of Sacramento.

Two men in their late teens or early 20s flagged down an officer shortly after 10 p.m. on Civic Center Drive about a block from police headquarters, according to Fremont police spokeswoman Geneva Bosques.

The men told the officers that a man in a red pickup truck had been following them and a friend, trying to get them into his truck, Bosques said.

The group had been split up about two blocks away, when the two men took off running near a Raley’s shopping center. The suspect had taken off in pursuit of their friend, toward an apartment complex on Civic Center Drive, they told the officers.

As the two men were talking to police, they spotted the suspect’s truck and pointed it out to officers, who headed toward the truck and attempted to pull it over. The suspect appeared ready to comply, but instead took off, Bosques said.

The officers pursued the suspect’s truck north through Fremont and into Union City, where they were involved in a collision with the truck near Decoto Road and Third Street.

The suspect bailed on foot, but officers in pursuit used a stun gun and a police dog to catch and subdue him, Bosques said. He was arrested and taken to a hospital, where he was treated for a dog bite.

Two officers involved in the pursuit also suffered minor injuries. They were treated and released.

Abeyta is being held on suspicion of attempted kidnapping, resisting arrest and battery on a police officer.