A man is dead after a standoff in Plainville that started Wednesday night and police said he took his own life.

Police responded to a home on Milford Street around 10:30 p.m., where a distraught man was in a home.

When the man did not come out of the home, police blocked off streets, told neighbors to shelter in place and brought in a SWAT team and negotiator.

Police said the man inside the home took his own life around 1:45 a.m. He was the only person in the home.