Israeli security forces have foiled a planned bombing and shooting attack targeting Jewish visitors and police in Jerusalem’s Old City, according to reports published Wednesday.

The suspect, a 19-year-old resident of the East Jerusalem neighborhood of Beit Hanina, was arrested following a joint investigation by the Shin Bet security agency and Israel Police. Belaaz reported the arrest, while the Tazpit Press Service provided additional details about the alleged preparations and intended targets.

According to the TPS report, investigators said the suspect spent two years developing the plot. He allegedly intended to detonate an explosive device at Lions’ Gate before entering the Temple Mount compound and opening fire on Jewish visitors and police officers.

Investigators also alleged that he surveyed security camera locations, sought weapons through the dark web and trained in hand-to-hand combat. Authorities said he confessed during questioning and identified online footage of the October 7 attacks as a principal motivation.

TPS reported that serious security charges had been filed against him. The allegations remain subject to court proceedings.

The case follows a separate investigation disclosed last month into an alleged plot targeting soldiers near the Old City.

On October 13, Israel Police announced that an 18-year-old resident of Umm al-Fahm had been arrested after allegedly pledging allegiance to the Islamic State terrorist organization and planning an attack against Israeli soldiers over the preceding year.

In that investigation, police said a search of the suspect’s home uncovered digital materials and other evidence supporting the allegations. Authorities announced that a prosecutor’s declaration had been submitted ahead of an expected indictment.

That earlier case involved a different suspect and a separate alleged plan. The police announcement did not establish a connection to the Beit Hanina resident whose arrest was reported Wednesday.