Maurice Hill, 36, was arraigned on Saturday.
Along with attempted murder, he has also been charged with aggravated assault, assault of law enforcement officer, simple assault, and recklessly endangering another person.
He was denied bail.
A preliminary hearing is scheduled for September 5.
Philadelphia District Attorney Larry Krasner will hold a press conference on Monday regarding the charges. Charges against four other people related to this case will be announced, as well, the DA's office said.
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 leg
Philadelphia 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.
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.
Philadelphia District Attorney Larry 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.
RELATED: Attorney details what led to suspect's surrender in Philly standoff
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.
Three other officers suffered non-gunshot related injuries, including one who was involved in a crash on the way to the scene.
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.