Two Arab youths stabbed a security guard for the light rail in the northeastern Jerusalem neighborhood of Pisgat Ze’ev on Tuesday, police said. Minutes later, a stabbing attack was thwarted near Damascus Gate.

The security guard, who was moderately wounded in the attack, managed to fire his weapon toward the two attackers, wounding one, an 11-year-old boy.

Passengers on the light rail subdued the second attacker, who is 14, until police officers arrived at the scene and took him into custody.

According to Palestinian sources, the two attackers were cousins, Moawiyah and Ali Alkam. One is from the Shuafat refugee camp and the other from nearby Beit Hanina.

The victim suffered stab wounds to the upper body, according to the Magen David Adom first-aid service.

“I saw that the train had stopped and on the scene there were large numbers of police officers and security guards,” David Dalfan, an MDA paramedic, said.

“A young man, approximately 24 years old, was lying on the ground next to the curb. He was fully conscious with superficial stab wounds. We quickly gave him first aid and loaded him onto an ambulance,” Dalfan said.

The guard’s condition was stable, according to the paramedics on the scene. He was evacuated to the city’s Shaare Zedek Medical Center for further treatment.

The attacker who had been shot by the guard was also treated by paramedics before he was evacuated to Hadassah Ein Kerem hospital, police said. He was in serious condition, unconscious and on a ventilator, the hospital said.

The two assailants were residents of East Jerusalem, one from Beit Hanina and the other from Shuafat, police spokeswoman Luba Samri said.

“The swift and determined response by the light rail guard and the passengers prevented the injury of other innocent people,” said Avi Cohen, the captain of the nearby police station.

In a separate incident, an assailant attempted to stab police near Damascus Gate. The police officers, who were not harmed, shot and disarmed him. The attacker, a 37-year-old East Jerusalem resident, was taken to Hadassah Mount Scopus Hospital in critical condition before dying of his wounds.

A 50-year-old bystander also suffered a light injury in his hand from the gunfire, Samri said.

Marissa Newman contributed to this report.