A Sheriff's Office SWAT team responded late Tuesday to a James Island home after a man refused to come out of his house during a welfare check, deputies reported.

According to Charleston County Sheriff's Lt. Chris Brokaw, the incident began about 10 p.m. on Mellichamp Drive. The home is located less than a half mile from Fort Johnson Middle School off Camp Road.

Authorities who had arrived at the home to conduct a welfare check reported seeing the man go inside the house, Brokaw said, but he refused to come back out again.

Deputies approached the home in an attempt to knock on the door, prompting the man to yell that he had a gun and would shoot anyone who came inside, an incident report said.

A 6-year-old boy was with the man, deputies said. The boy's mother told deputies the man may have been suicidal, according to the report.

Crisis negotiators and a SWAT team were called to the scene and surrounded the home out of safety for the child, Brokaw said.

The man was taken into custody a short while later and transported to Medical University Hospital.

Reach Christina Elmore at 937-5908 or at Twitter.com/celmorePC.