A man was taken into custody after SWAT was called to an East Liberty street during a police standoff Wednesday night.

Pittsburgh police responded to the 600 block of Collins Street shortly after 10 p.m. after receiving a report of a “hostile and armed male.”

Police said the man, who was not identified, threatened officers when they arrived on the scene and then barricaded himself inside an apartment building. The SWAT team was called in after the man refused to come out as residents were inside the building.

SWAT officers were eventually able to evacuate the residents before police used gas to force the suspect out of the building.

He was taken into custody without incident and was evaluated by medics before being transported to the Allegheny County Jail. It was unclear Thursday morning what charges he would face.