Police have “peacefully” and “without further incident” resolved the standoff with an armed suspect at San Francisco's Civic Center with him giving up after six hours of negotiations. The incident led to the evacuation of the center and nearby UN Plaza.

Officer Carlos Manfredi tweeted an image of a half-naked suspect, who did not seem to resist arrest, being detained by police officers in full gear. Police removed a gun belt with a handgun from the man.

Code 4. Suspect surrendered peacefully without further incident. Good work Crisis Negotiators & everyone out at the scene. pic.twitter.com/n7UvLeXfj0 — Officer Manfredi (@OfficerManfredi) 25 сентября 2016 г.

According to police, the “suicidal” suspect called 911 on Saturday’s afternoon threatening to hurt himself and police if they try to approach.

He had previously threatened “suicide by cop," according to local CBS affiliate KPIX.

Video of the guy with a gun at civic center in San Francisco (from my rooftop). I hope this ends well! pic.twitter.com/h5kaY5Y4SX — Chris Williams (@PureForm) 24 сентября 2016 г.

Civic Center was “shut down” and the UN Plaza “cleared out" due to the incident. All motorists and pedestrians were also forced to leave the area.

BREAKING: S.F. Civic Center blocked off as police negotiate with armed man https://t.co/2AiKWouUskpic.twitter.com/gGWPv8HArf — SFChronicle (@sfchronicle) 24 сентября 2016 г.

A SWAT team was called to the scene to deal with what police described as a “critical incident," while a hostage negotiators were talking to the man for over four hours to help to end the standoff.