Attackers opened fire at a bus stop at a busy intersection in north Jerusalem on Monday, killing five people and injuring another 12 people, according to Israeli police and emergency rescue services.

Police said the attackers shot people waiting at a bus stop, while Israeli media reported the attackers also boarded a crowded bus and opened fire inside.

A security officer and a civilian who were at the scene shot and killed the attackers, police said.

The shooting took place at a major intersection at the northern entrance to Jerusalem, on a road that leads to Jewish settlements located in east Jerusalem.

Paramedics who responded to the scene said the area was chaotic and covered in broken glass, with people wounded and lying unconscious on the road and a sidewalk near the bus stop.

Hundreds of security forces arrived at the scene to search for additional attackers or explosives that could have been planted around the area.

The Israeli military said it is encircling Palestinian villages on the outskirts of the nearby West Bank city of Ramallah as it steps up defense in response to the attack.

Hamas hailed the attack without claiming responsibility, calling it a “natural response to the occupation’s crimes against our people.”

The war in Gaza has sparked a surge of violence in both the Israeli-occupied West Bank and Israel.

Palestinian militants have attacked and killed Israelis in Israel and the West Bank, while there has also been a rise in settler violence against Palestinians.