PARKER COUNTY, Texas -- A man was arrested Saturday morning after firing shots at Parker County Sheriff’s deputies.

According to Parker County Sheriff's Office, Allen Dewayne Thomas, 47, of Weatherford, called the communications center shortly before 6:30 a.m., threatening if deputies didn't respond to his location, he would "shoot 'em [sic] all." He claimed that he shot two people near his property and two others were loose. 

Officials determined it was a ruse to lure deputies to a residence in the 7100 block of River Trail in Horseshoe Bend. 

“This appears to be a deliberate act, where our deputies were called into an ambush in a violent attempt to take the lives of our law enforcement officers,” said Parker County Sheriff Larry Fowler.

When the deputies arrived, Thomas fired a rifle at them, striking a patrol vehicle three times, narrowly missing a deputy, officials say. 

The Weatherford-Parker County Special Operations Group responded. After about two hours, deputies said Thomas taunted them to “come and get me.”

He was taken into custody shortly after. He faces a charge of attempted capital murder of a peace officer.

According to Sheriff Fowler, no deputies were injured during the incident and no officers fired a weapon.