MIDDLEBURY, Conn. (WTNH) — A man who had barricaded himself inside a Middlebury home was found dead after a standoff with police, according to authorities.

Troopers and officers from Naugatuck and Waterbury responded to assist Middlebury police with a suspicious incident at a home on Porter Road around 5:30 p.m. Wednesday. The CSP Emergency Services Unit, Western District Major Crime Squad and the state’s attorney’s office also responded to the scene.

Police and the SWAT teams were there for hours, trying to establish contact with the adult man who had allegedly discharged two rounds from a handgun inside the home before barricading himself.

The man was found dead at around 5 a.m., state police said.

At the request of the state’s attorney, detectives from the Western District Major Crime Squad have taken over the investigation.