A nearly 7-hour standoff at a Mountain Brook home Saturday ended peacefully.

The scene was in the 3600 block of Dunbarton Drive. According to Mountain Brook police Deputy Chief Greg Hagood, police at 4:01 p.m. received a 911 call from a home reporting a domestic violence situation.

A verbal altercation had taken place, Hagood said. Officers arrived to find one of the residents - a 36-year-old man - had poured gasoline inside the home and was holding a box of matches.

Police blocked off a large perimeter and SWAT officers responded to the scene. The other occupants were able to safely escape, Hagood said. He did not identify who was in the home at the time, but the suspect lived there with his parents.

When police showed up, the suspect barricaded himself inside the basement. He refused to come out and talk with officers and continued to threaten to torch the house. Mountain Brook Fire, SWAT officers and crisis negotiators were summoned to respond to the home.

Negotiators made contact with the man and communicated with him for several hours. At least one of the man’s friends was on the scene and he said another friend had spoken with him briefly by phone.

Eventually, Hagood said, negotiations broke down and the suspect refused to communicate further. Police had surrounded the home and were heard yelling to him.

A short time later - at 10:24 p.m. - the man surrendered and was taken into custody. He was taken to an undisclosed hospital for evaluation.

The suspect posted this on Facebook about 6:30 p.m. “If there is anyone in Birmingham that knows me. Please help me the police shot at me and my dog. This is not a game and it’s not funny. I’ve never been convicted of a crime.”

Hagood said that during the standoff, the suspect released his dog - a Doberman Pincher - and it charged at police in an aggressive manner. An officer fired at the dog, but the dog was not hit.

The investigation is ongoing pending possible charges.