A man accused of shooting six Philadelphia police officers during a standoff that lasted more than seven hours has surrendered to police. 

NBC Philadelphia was there as a member of the SWAT team shot tear gas into the home on North 15th and Butler streets around midnight. The suspect, identified by police as 36-year-old Maurice Hill of Philadelphia, then walked out of the home and was taken into custody by police. 

Hill was taken to Temple University Hospital for an evaluation. He is likely to be charged with six counts of attempted murder and aggravated assault, according to his longtime attorney Shaka Johnson.

Around 8:30 p.m., Hill told the attorney via phone that he “wanted to try to figure a way out,” Johnson told NBC Philadelphia.

“He said he wouldn’t come out unless I was standing outside because he knows I wouldn’t allow anything to happen to him,” Johnson said. 

The arrest ended a dramatic, hours-long standoff in which six officers were wounded by gunfire while another was hurt in a crash. Two Philadelphia police officers and three civilians were also trapped inside the row home with the gunman before they were safely evacuated around 10 p.m. Wednesday.

“SWAT was able to successfully extract the two police officers that were trapped upstairs, as well as three prisoners,” Philadelphia Police Commissioner Richard Ross said. “They were all taken out safely thus far.”

None of the officers suffered life-threatening injuries, Ross said, adding that at least one officer suffered a graze wound to the head. The officers were all later released from the hospital.

The standoff with the suspect, believed to be heavily armed with weapons including an AK-47, lasted for more than seven hours before he was taken into custody.

The initial shooting prompted a massive response to the largely residential North Philadelphia neighborhood, which is roughly 2 miles north of Temple University and about 4 miles north of Center City.

Gunfire initially erupted around 4:30 p.m. after narcotics officers served a warrant to a house near the corner of North 15th and West Butler streets, according to officials.

As officers rushed upstairs, a gunman waiting downstairs with an AK-47 fired several rounds through the ceiling. Police returned fire while several officers escaped through windows and doors. 

A seventh police officer responding to the scene was injured in a car accident at the nearby intersection of North Broad and West Cayuga streets. A pedestrian was also injured, police say.

There have been conflicting reports about others who may have been taken into police custody in the aftermath of the initial raid. Police initially said at least one suspect was taken into custody, but Ross said at a press briefing that he couldn’t say with certainty that anyone remained in custody.

Neighbors said they watched in terror as the violent scene unfolded on their block. 

“It was like a war – like a scene that you see in war,” a resident told NBC10. “The guns, the fire, the noise – it was like bombs going off simultaneously at a time where people are having dinner.”

Frantic calls from responding officers were obtained by NBC10 via Broadcastify. Policed pleaded for back-up shortly after the shooting started.

“Officer calls for everything you got. SWAT, long gun,” a law enforcement officer can be heard saying on the audio. “I got an officer shot.”

Credit: NBC Philadelphia