DANVILLE, Va. (WFXR) — After seven hours of negotiations, police managed to detain an armed man who barricaded himself inside a Danville apartment overnight following reports of a shooting.

Shortly after 12:15 a.m. on Friday, April 15, the Danville Police Department says officers responded to a call about a domestic dispute with shots fired within an apartment at the X building in the 1300 block of Piney Forest Road.

When police arrived at the scene, they say two females left the apartment and officers were able to remove a 3-momth-old infant while an armed individual was barricaded in a bathroom.

A patrol officer trained in crisis intervention and de-escalation started speaking with the suspect — identified as 24-year-old Malik Elonzo Baize — as a tactical response was put into place and members of the department’s Crisis Negotiation Team and SWAT Team responded to the scene, officials say.

A number of police officers reportedly evacuated the apartments near the scene of the barricade and set up a perimeter while negotiations continued throughout the night.  

Meanwhile, according to authorities, they obtained arrest warrants against Baize for reckless handling of a firearm and maliciously shooting a firearm in an occupied building.  

At approximately 7:15 a.m., following hours of negotiations, police say Baize turned over the weapon, a 9mm handgun, and surrendered without further incident. Baize was then taken for a mental health screening. Once he is cleared, authorities will serve the warrants.

“The Danville Police Department takes the response to behavioral health crises seriously and prepares for major incidents through training of officers and with partners,” the department said in a statement Friday morning. “The Danville Life Saving Crew was a vital partner, standing by if needed for the entirety of the barricaded negotiation. Danville Pittsylvania Community Services assisted in this incident and were available to aide in negotiations had the scene been made safe.”