EMBED >More News Videos Assault rifle recovered from home after Philadelphia standoff. Bob Brooks has more on Action News at 11 p.m. on August 15, 2019.

The assault rifle Maurice Hill is accused of using to shoot police with has been removed from the home. @6abc pic.twitter.com/zKKb8L7yPm — Bob Brooks (@BobBrooks6abc) August 16, 2019

EMBED >More News Videos Raw video from the scene in Tioga-Nicetown as the suspect in an active shooter incident that wounded 6 police officers surrenders, August 15, 2019.

Maurice Hill

EMBED >More News Videos Suspected gunman released from hospital on August 15, 2019, after standoff with Philadelphia police.

EMBED >More News Videos Radio calls reveal tense, chaotic situation during Philadelphia active shooter incident on August 14, 2019.

EMBED >More News Videos Injured police officer helped to car in North Philadlephia shootout on August 14, 2019.

EMBED >More News Videos Bullets ricochet on sidewalk next to police

PHILADELPHIA -- A gunman barricaded himself inside a Philadelphia rowhouse for seven hours, firing on police and wounding six in a dramatic standoff that trapped two officers all while the commissioner and the shooter's attorney tried to negotiate a surrender.On Thursday afternoon, the Philadelphia Police Department identified the officers injured in the incident: - Police Officer Joshua Burkitt, 26, a 2-year veteran assigned to the 24th District sustained a gunshot wound to the left hand- Police Officer Michael Guinter, 32, a 12-year veteran assigned to the Narcotics Strike Force, sustained gunshot wounds to both arms- Police Officer Shaun Parker, 32, an 11-year veteran assigned to the Narcotics Strike Force, sustained a graze wound to the head- Police Officer Nathaniel Harper, 43, a 19-year veteran assigned to the Narcotics Strike Force, sustained a gunshot wound to the left leg- Police Officer Ryan Waltman, 42, a 12-year veteran assigned to the 39th District sustained a gunshot wound to the right hand- Police Officer Justin Matthews, 31, a 3-year veteran assigned to the 16th District, sustained a graze wound to the left legPhiladelphia Police Commissioner Richard Ross expressed amazement that the standoff, which began Wednesday when officers attempted to serve a drug warrant, ended with no one dead and no life-threatening injuries.It "could have been far worse," Ross said Thursday outside the Philadelphia Police Department. "This was a very dynamic situation, one that I hope we never see again."The gunman came out of the home after police used tear gas. He was taken to a hospital for evaluation and then placed into custody.Chopper 6 was overhead Thursday as investigators were back at the home gathering evidence.The assault rifle believed to be used in the shooting was recovered from the home.As officers flooded the scene, the situation grew chaotic at times. Police took to Twitter to ask media helicopters to pull back at the beginning of the standoff, saying they feared the gunman might be able to see police positions in the footage. Some residents shouted and threw things at officers. A nearby daycare center was locked down for hours and later evacuated , with police officers helping carry babies and two city buses set up where shaken children waited for their parents to pick them up.While standoffs with police are not uncommon, the situation in Philadelphia drew particular attention because of how long gunfire was exchanged and the fact that the commissioner made the unusual decision to speak to the shooter directly.The suspect was identified by Philadelphia District Attorney Larry Krasner as Maurice Hill , 36. Krasner said Hill had an extensive criminal history, including drug, gun and robbery charges. Krasner said Hill should not have been on the streets but stopped short of saying there was any specific failure by law enforcement."I think it's fair to say the criminal justice system, imperfect as it is, did not stop this terrible incident," he told reporters at a news conference Thursday.Pennsylvania prison officials said a man with the same name and date of birth served about 2 years on drug charges and was paroled in 2006 and served more than a year for aggravated assault and before being released in 2013.State court online court records indicate that man had multiple arrests in Philadelphia and adjacent Delaware County between 2001 and 2012, producing convictions that include perjury, fleeing and eluding, escape and weapons offenses.Hill's lawyer, Shaka Johnson, said Hill called him during the standoff asking for help surrendering. Johnson then called Krasner, and the two men patched in both Hill and the police commissioner, according to Krasner.Hill told Johnson he wanted to make it out alive to see his newborn daughter and teenage son again.President Donald Trump weighed in on the shootout Thursday morning, saying the gunman "should never have been allowed to be on the streets.""He had a long and very dangerous criminal record," he wrote in the tweet. "Looked like he was having a good time after his capture, and after wounding so many police. Long sentence - must get much tougher on street crime!"The standoff started around 4:30 p.m. as officers went to a home in a north Philadelphia neighborhood of brick and stone rowhomes to serve a narcotics warrant in an operation "that went awry almost immediately," Ross said.Many officers "had to escape through windows and doors to get (away) from a barrage of bullets," Ross said.The six officers who were struck by gunfire have been released from hospitals, said Philadelphia police Sgt. Eric Gripp.Two other officers who were trapped inside the house for about five hours after the shooting broke out were freed by a SWAT team well after dark fell.Ross said the reason he made the unusual decision to be the person negotiating with Hill was because he was "so worried" about his officers stuck inside."I wouldn't be able to live with myself if I was 200 feet away," he said Thursday.Three people who officers had taken into custody in the house before the shooting started were also safely evacuated, police said.At one point, authorities held a news conference in hopes that the gunman or someone he was communicating with may hear them. Ross said he was "very intentional and deliberate" with the words he used during the briefing since he was not sure if Hill knew there were two officers trapped upstairs.Police tried to push crowds of onlookers and residents back from the scene. In police radio broadcasts, officers could be heard calling for backup as reports of officers getting shot poured in."There was just a lot of screaming and chaos," said Abdul Rahman Muhammad, 21, an off-duty medic.Dozens of officers on foot lined the streets. Others were in cars and some on horses.Trump and Attorney General William Barr were briefed on the shooting, officials said.Philadelphia Mayor Jim Kenney said he was thankful that officers' injuries weren't life-threatening."I'm a little angry about someone having all that weaponry and all that firepower, but we'll get to that another day," Kenney said.___The Associated Press contributed to this report.