SUISUN CITY (CBS13) — A Thursday night standoff in Suisun City ended with an arrest after police responded to reports of a man threatening a woman with a knife.

Officers arrived on the 1600 block of Hickman Circle shortly after 9:30 p.m. and met with a woman who told police she had a restraining order against her estranged husband, identified as 39-year-old Suisun City resident Edgar Nunez, and that he was inside of her home.

READ MORE: Wednesday's Show Info (5/25/22)

The woman then told law enforcement that Nunez pulled a knife on her and threatened her.

Officers found that Nunez had a felony warrant out for his arrest. While attempting to speak with the suspect, Nunez had barricaded himself inside of a closet in the home.

READ MORE: Tuesday's Show Info (5/24/22)

The officers said they heard what sounded like a gun being loaded and decided to exit the residence and call for more resources.

Solano County SWAT and additional Suisun police crews arrived on the scene, prompting Nunez to exit the residence and allowing the officers to arrest him.

MORE NEWS: Tips For Staying Safe While Enjoying Sacramento's Waterways

Nunez was booked into the Solano County Jail on numerous felony charges.