UPDATE: Suspect surrendered to police shortly after 12 a.m. Thursday. The suspect’s attorney has identified the alleged gunman as 36-year-old Maurice Hill.

PHILADELPHIA (CBS) — Two women and two girls escorted from the scene where six Philadelphia police officers were shot say police saved them after they were trapped inside a Nicetown-Tioga home where the suspected gunman was barricaded inside. They say they were on the second floor at the time of the shootout.

6 Philadelphia Police Officers Shot During Gun Battle In Nicetown-Tioga Section, Sources Say Suspect Live-Streamed Parts Of Shootout

“I thank God for these cops. They’re good people. Don’t say nothing bad about them, they kept us safe the whole time,” one of the women told CBS3.

Gunfire erupted when a warrant was being served at the location on the 3700 block of North 15th Street around 4:30 p.m., police say. Officers were first called to the scene for narcotics activity, according to Philadelphia Police Capt. Sekou Kinebrew.

PHOTOS: Chaotic Scene Unfolds As 6 Philadelphia Police Officers Shot During Gun Battle In Nicetown-Tioga

The gun battle between police and the suspect is still active. CBS3’s Greg Argos has learned the suspect has a long rifle gun and people outside their homes are being pushed back as the standoff continues.

WATCH: CBS3 Cameras Capture Volleys Of Gunfire Erupting After 6 Philly Police Officers Shot In Nicetown-Tioga

Officers then worked to communicate with the shooter in attempts to get him to surrender.