ANSONIA, Conn. (WTNH) – Ansonia police said they have arrested the man who barricaded himself in his home on Elm Street with a gun on Sunday.

Police first stated in a Facebook post on Sunday night that Elm Street had been closed off due to an investigation. Officials confirmed Monday morning the investigation was an active barricade situation.

Ansonia’s police department stated the call for this situation came in at 7:30 p.m. Sunday. Officers identified the man as Gabriel Resto, who had also barricaded a woman inside the house with him. She is the one who originally called 911, according to police.

The woman said she is in a relationship with Resto and they share a 9-month-old child who was there at the time of the incident. The woman said Resto was yelling at her, playing loud music, and acting erratically. She also reported that he had a gun and was displaying the gun.

Police said they had been in contact with Resto throughout the night, attempting to persuade him to disarm himself and come outside.

Ansonia police, state police, and SWAT teams were at the scene and said they negotiated with him for nearly 12 hours. Police said Resto refused to leave the home, so non-lethal irritants were used to persuade him to exit the house.

Resto is unharmed, according to police, and no one else was injured during this incident. He was charged with third-degree assault and disorderly conduct. He was held on a $30,000 bond.

Before the situation was resolved, officers had the entire neighborhood on lockdown. They asked Ansonia residents not to enter or exit their own homes and to avoid the area of Elm Street.

Ansonia public schools also announced on their website that certain school bus routes would be rerouted Monday morning to avoid Elm Street. According to the post, there were no bus pickups on Thomas, Vose, and Gracie streets.

News 8 will continue to update this story as it develops.