A SWAT standoff that lasted for several hours on Saturday has ended peacefully.  The Harris County Sheriff's Office was called to a home in the 13200 block of Ambrosa in East Harris County.

The Sheriff's Office High Risk Operations Unit was deployed to assist Precinct 3 Constables to deal with a man who had discharged his weapon several times inside his home, according to the Sheriff's Office. 

Neighbors told Local 2 the man had been walking around outside, shirtless, arguing with himself and that he was armed.

"The gentleman had a gun in his waistband in the front and in the back," said Rosalene Sanchez. 

Sanchez lives next door and dialed 911.

"When I looked out the window, that's when I realized he was talking to himself," Sanchez said.

Neighbors were told to leave their homes and were forced to stand out in the cold for several hours until the situation was resolved.

"We're praying that this ends peacefully," said Sonia Parker. "That way we can go home."

Deputies were able to get the man to come out and no one was harmed.

Witnesses say the an lived in the home with a woman, presumably his wife, and two children. 

"The children and wife were let out, they came out quickly," said Sanchez. "I never thought something like this was going to happen today."

The man was taken into custody. No information was available on the charges he faced.