PROVIDENCE, Cache County — Police were able to end a SWAT situation without incident involving a 23-year-old man who barricaded himself in his home and was threatening suicide Thursday.

After about seven hours, officers released tear gas into the man's home near 100 East and Center Street, Cache County Sheriff's Lt. Brian Locke said. The man emerged from the home and was taken into custody around 8 p.m.

The incident began around 12:45 p.m. when the man's family members contacted police, Cache County Sheriff's Chief Deputy Brad Slater said. The family told officers that the man told them he was having thoughts of harming himself.

Police arrived and the man barricaded himself in his home. He was alone at the time, though he lives there with his parents.

Slater said the man was threatening to commit suicide or take action "that would force others to take action." Slater said they knew the man had weapons and that neighbors and family members on the phone heard shots fired.

Police officers lost contact with the man around 4 p.m. and sent in a robot to try and make contact, Locke said. When there was no response, officers put gas into the home.

"Apparently the individual had either been asleep or passed out," Locke said. "(The gas) woke him up."

Officers eventually evacuated 14 homes in the area. The occupants were allowed to return shortly after 8 p.m.

Emiley Morgan Twitter: DNewsCrimeTeam