Binghamton police arrested several people following a brief standoff at a West Side apartment house.

Authorities say officers first arrested 23-year-old Josie Valdes in front of 120 Walnut Street around 7 p.m. Friday. Valdes was wanted on a city court bench warrant.

Police say a man who was with Valdes, 20-year-old Joel Valdes-Pica, fled into the apartment building's backyard. Officers later found a loaded revolver in the area where Valdes-Pica was stopped.

Officers then spoke to people in an apartment about suspected marijuana Valdes-Pica may have tossed onto a porch. Police say one officer was struck in the face and another was hurt when a door was slammed on him.

Police say one person waved a knife at officers during the altercation and there was a threat officers would be shot if they entered the apartment.

A SWAT team was sent to the scene and three people inside the apartment emerged around 8:30 p.m.

Police say the three were charged with second-degree assault in connection with the confrontation with officers. They were identified as 40-year-old Wilfredo Pica-Torres, 36-year-old Jennifer Gonzales-Soto and 27-year-old Jeffrey Sanchez-Pica.