TYLER, Texas (KETK) – A man is in custody after being in a standoff with authorities in Smith County on Friday.

According to Smith County authorities, a Smith County constable and a deputy constable went to 1618 Alamo Dr. in Tyler and attempted a writ of possession at the residence around 10 a.m.

Officials said they used their vehicle public address system to identify themselves as constables and were dressed in uniform. After several minutes went by without an answer, they attempted to enter the residence, allegedly finding 44-year-old Curtis Dewayne Clark standing just inside the front door armed.

According to authorities, Clark pointed a rifle at the deputy constable, then she and Constable Ralph Caraway Jr. retreated to cover. Caraway contacted Sheriff Larry Smith for assistance from his office and SWAT.

Soon, patrol deputies, SWAT team and negotiators arrived at the scene. After radioing for immediate assistance, Smith County deputies arrived and set up a perimeter around the home. Tyler Police also responded.

“All efforts to negotiate with Curtis Clark were unsuccessful,” according to a release from Smith.

Clark had been posting videos on his Facebook page during the standoff and a voice can be heard in the video saying, “I’m going to go out like a soldier, I guarantee that.”

At 1:15 p.m., an arrest warrant was issued for the offense of aggravated assault of a public servant with a bond of $500,000, signed and set by 114th District Judge Austin Reeve Jackson. A search warrant was also issued for the Alamo Drive premises and Clark.

Roughly two hours later, Smith County SWAT deployed tear gas into the residence at different locations of the house. At 2:45 p.m., officials said Clark came out of the rear door of the residence and surrendered to deputies.

Clark was being booked into the Smith County Jail on Friday afternoon.