A man is in custody after deputies with the Harris County (TX) Sheriff's Office cut off his air conditioning.

According to ABC News, deputies were called after a man displayed a firearm and reportedly made threats.

By the time deputies arrived, the man had barricaded himself inside his trailer.

Deputies turned off power to the home, and the dwelling began to bake in the south Texas heat.

Captain Lynwood Moreau of the Harris County Sheriff's Office said, "We turned the power off and it got pretty warm in there pretty quick. He came out with his hands up."