 -- Dramatic dashcam video shows a heroic bystander stepping in and tackling a man who was attacking a police officer.

"It started with this man and another suspect using cloned credit cards to buy gift cards in a grocery store," Jennifer Wagnon of the Edmond Police Department in Oklahoma told ABC News. The store clerk recognized the two suspects, who have been going to multiple stores in the metro area and doing the same thing, according to Wagnon.

"The clerk said, 'I need to get my supervisor to approve this,' and then they just ran out," she said. The supervisor called the police department, which alerted a nearby officer on patrol.

"When the officer saw their vehicle, he turned on his lights and sirens," Wagnon said, and then "they pulled into a strip mall" parking lot. She said the two suspects ran into a dance studio, the officer went after them and a physical altercation ensued.

Dashcam video shows one of the suspects dragging the police officer on the ground, kicking and punching him in the parking lot. Another officer steps in and tries to restrain the suspect as the second suspect speeds away in their car.

"One man was resisting. The other ran into the car and left his friend behind," Wagnon said.

Suddenly, a courageous bystander is seen joining the altercation and tackling the suspect to the ground. The hero told the police department that he did not wish to be named in media reports, and Wagnon said the police department will recognize and thank him privately for stepping in.

"That's pretty indicative of the community we serve in," she told ABC News. "The community we serve in is very supportive of law enforcement."

"We have, almost daily, people bringing in cards and cookies," she added. "It's definitely not something we take for granted."

Wagnon said the police have one suspect in custody and are searching for the second.

The suspect who attacked the police officer, Yohanker Paradela-Moreu, is being held for a $200,000 bond at the county jail. Wagnon said charges have not yet been filed.