Police arrested 18 members of a WhatsApp group allegedly used to plan last week’s stabbing attack against police officers in Jerusalem.

Police spokeswoman Luba Sumri said on Sunday that, as part of police investigations into the attack last Monday at Lions’ Gate, it was discovered that the stabber, Ibrahim Mahmoud Mattar, a 25-year-old resident of East Jerusalem’s Jabel Mukaber neighborhood, was a member of a WhatsApp group called “The path to heaven.”

According to police, the group was set up to spread extremist religious views and its members, including Mattar, were recently radicalized.

Get The Times of Israel's Daily Edition by email and never miss our top stories Free Sign Up

A day after the attack, police arrested 18 members of the group, residents of East Jerusalem and the West Bank, who are suspected of conspiracy to commit a crime. Eight of the detainees were conditionally released and the remand of 10 suspects was extended until Monday.

Two Border Police officers were moderately wounded in the attack which occurred on in the early hours of the Purim festival.

The assailant was shot and critically wounded during the attack. He later died of his injuries.

According to police, the assailant entered a guard booth where the two officers were stationed holding a large butcher’s knife. Inside the cramped post, he began stabbing and hitting them.

After a brief struggle, one of the officers fought his way out of the guard booth, loaded his weapon and shot the assailant, police said.

Judah Ari Gross contributed to this report.