The standoff that locked down three schools in the Azle school district because of gunfire in the area is over.
The Tarrant County Sheriff's Office said the man, identified as 50-year-old Frank John McKinney, was in custody and the standoff ended at 7:10 p.m. The sheriff's office earlier said the standoff involved a man wanted on felony warrants.
The campuses of Liberty Elementary, Hoover Elementary and Fort Junior High were locked down because of a nearby domestic dispute with gunfire, the superintendent said.
The only way students could leave was if parents picked them up. About 20 students remained at the schools shortly before 6 p.m., the superintendent said.
The Tarrant County Sheriff's Office said McKinney reportedly assaulted someone with a broom earlier Friday. He allegedly fired several shots into the air before police arrived.
An emergency official at the scene of the standoff said the suspect threatened to kill people at a nearby convenience store before the standoff began.
Authorities handling the situation told NBC 5 they were pleased the standoff ended peacefully.
The latest news from around North Texas.
"Well we certainly wish we had our teargas back," said Terry Grisham with the Tarrant County Sheriff's Department. "We wish we wouldnt have had to go to that length. We hoped, we gave him many opportunities to come out, just come and give himself up."
NBC 5's Ben Russell contributed to this report.