A man in the U.S. is facing four charges of attempted capital murder after trying to gun down a police officer in Arkansas.

Arkansas Online reports that 29-year-old Luis Cobos-Cenobio has also been hit with one charge each of fleeing, terroristic act, possession of a controlled substance, and possession of drug paraphernalia. He is being held in lieu of $500,000 bond.

The drama started shortly after midday on Tuesday when Washington County Cpl. Brett Thompson attempted to pull over Cobos-Cenobio for a traffic violation.

Cobos-Cenobio eventually pulled over but when he did, he pulled out a gun and immediately started firing at the officer. Dramatic dashcam footage from the police cruiser shows Cobos-Cenobio run out of his vehicle and take cover behind the police cruiser as he engages in a gunfight with Thompson. Neither men were hit during the exchange.

Shortly after fleeing the scene, Cobos-Cenobio can be seen letting a female out of his vehicle. She slowly approaches the police car with her hands raised and is quickly handcuffed.

Roughly half an hour later, Cobos-Cenobio was spotted by police and again shot at officers north of Lake Fayetteville. He eventually fled but this time, was chased by police and ultimately stopped the car and surrendered to authorities.

The shooter was treated at Northwest Medical Center and taken to the Washington County jail. According to a news release issued by the local police department, Cobos-Cenobio had an unspecified injury to his shoulder when he was arrested.

U.S. Immigration and Customs Enforcement have placed a hold on the man.