Police say Israeli paramilitary police officer seriously wounded in Jerusalem stabbing attack

Friends and relatives of Danny Gonen mourn next to his body during his funeral, at the cemetery in the city of Lod, near Tel Aviv, Israel, Saturday, June 20, 2015. Gonen was killed when a gunman opened fire at a car outside a West Bank settlement on Friday, killing an Israeli man and wounding another in what police said was a "terror attack." The Palestinian militant group Hamas praised the attack but stopped short of claiming responsibility. (AP Photo/Oded Balilty) (The Associated Press)

French Foreign Minister Laurent Fabius speaks during a press conference with Palestinian Foreign Minister Riyad Al-Maliki in the West Bank city of Ramallah, Sunday, June 21, 2015. (AP Photo/Majdi Mohammed) (The Associated Press)

Israeli Prime Minister Benjamin Netanyahu speaks during the weekly cabinet meeting in Jerusalem Sunday, June 21, 2015. (Dan Balilty/Pool photo via AP) (The Associated Press)

Israeli police say a Palestinian man has stabbed an Israeli paramilitary police officer, critically injuring him.

Police spokesman Micky Rosenfeld says the police officer was stabbed in the neck Sunday outside the Old City of Jerusalem and was taken to hospital. The officer managed to shoot at his attacker and critically wounded him as well.

The attack comes two days after a gunman opened fire on a car outside a West Bank settlement, killing an Israeli man and wounding another.

Israel saw a wave of so-called "lone wolf" attacks last year by Palestinians using guns, knives and vehicles in Jerusalem, Tel Aviv and the West Bank. Police say it's difficult to stop such attacks because assailants act on their own, without working through established militant groups.