Copenhagen Shooting: What We Know About the Alleged Gunman, Accomplices

The 22-year-old alleged gunman has been identified.

Officials have not formally identified the alleged gunman, who an investigator said was later killed in a shootout with police, but a public defender representing an accused accomplice identified him as Omar Abdel Hamid El-Hussein.

"This is a conflict between the core values of our society and violent extremists," Thorning-Schmidt said.

Between the two attacks, El-Hussein went to an Internet cafe, according to police, but it is not known what he did during the 25-minute visit.

Police also arrested two alleged accomplices accused of giving El-Hussein "advice and assistance," police said today. Michael Juul Eriksen, the defense attorney for one of the two suspects who identified El-Hussein as the gunman, told public broadcaster DR that the two were accused of giving the gunman shelter and getting rid of a weapon.

The two alleged accomplices were arraigned and ordered jailed today at a closed-door custody hearing, according to the AP.

The Associated Press contributed to this report.