A man is in custody after police say he threatened his family members with a gun and barricaded himself inside his home.

The incident happened in a house on Bertrand Street in north Houston Wednesday night. The Harris County Sheriff's Office says the man's family called saying the 31-year-old had threatened to kill them and himself, then locked himself in his bedroom.

SWAT officers were called out and the man surrendered peacefully.