Three police officers were injured in a terror attack in Jerusalem Saturday afternoon by a Palestinian terrorist, the second such attack in the day.

One officer was seriously injured and the other two were moderately wounded in the attack near Damascus Gate in the Old City. The terrorist was shot dead by nearby security forces.

According to a police statement, two Border Police officers on patrol in the area noticed a Palestinian youth who aroused their suspicions. They approached him and asked for identification. The youth handed over his ID card, according to police, then pulled out a knife and stabbed one of the officers in the neck.

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

A nearby group of forces saw the attack unfold and opened fire, killing the attacker, but also accidentally hitting two other officers in the process, one of them seriously, according to the police statement.

The wounded officers were taken to hospital for treatment.

[mappress mapid=”5302″]

At least 3 police officers injured in stabbing attack moments ago near Damascus Gate in Jerusalem. – Ch 10 pic.twitter.com/rqycT5Uaj0 — Israel Breaking (@IsraelBreaking) October 10, 2015

The terrorist was named by Israeli media as Muhammad Ali, 19, from Shuafat in East Jerusalem.

This was the second stabbing attack in the city on Saturday. Earlier in the day, a Palestinian teenager stabbed two ultra-Orthodox men in central Jerusalem. One of the victims was moderately injured while other other sustained light wounds. They were evacuated to the city’s Shaare Zedek Medical Center.

The two men, aged 62 and 65, were on their way back from morning prayers at a local synagogue when they were attacked.

Their Palestinian attacker, a 16-year-old resident of East Jerusalem, was shot dead by security forces.