A three-hour standoff just south of Dodd City ended with gunfire and the gunman behind bars.
Fannin County deputies fired "less than lethal" rounds into the house to stun the gunman.
Sheriff Kenneth Moore says the man released two adult women and two kids from the house, but he refused to come out.
Moore says the man had at least two long guns in the house with him, prompting deputies to shoot into the house to force him out around 12:30 a.m.
"The two rounds expelled were stabilized bean bags. He was hit at least twice with stabilized bean bags...they were less than lethal rounds," said Fannin County Sheriff Kenneth Moore.
The sheriff says the gunman was hit once in the shoulder, once in the sternum, but he should be alright.
The gunman's name is not being release, but Moore says he is a 34-year-old white man who lives at the house where the standoff took place.
One of the women released from the house was taken to a local hospital. The extent of her injuries is unknown.