An Israeli man was critically wounded when two Palestinian terrorists opened fire from a vehicle on Wednesday morning at a light rail stop near the New Gate of Jerusalem’s Old City, police said.

The two occupants of the vehicle were shot dead by officers at the scene on Rehov Hatzanhanim.

Police said the shooters were likely the same men who had carried out a failed attack at a Jerusalem public bus elsewhere in Jerusalem earlier in the morning.

They had opened fire on a number 32 Egged bus at the Ramot Junction in the city’s northwest. There were no injuries in the earlier shooting attack, and police launched a search for the vehicle that was seen driving away from the location.

Officers identified the vehicle near the Old City, police said. One officer approached the car, and when he was within five meters of it, spotted its occupants aiming two Carl Gustav rifles at him, police said. He and other officers opened fire at the gunmen and killed them.

Guns used by two Palestinians who carried out a shooting attack on Wednesday, March 9, 2016 (Israel Police)

Guns used by two Palestinians who carried out a shooting attack on Wednesday, March 9, 2016 (Israel Police)

An Israeli was also hit in the crossfire and seriously injured.

“At the scene of the battle with the terrorists, there was an Arab Israeli citizen who was suffering from a gunshot wound,” an Israel Police spokesperson said, noting that police were examining whether he was hit by an errant bullet fired by officers or was hit by the Palestinian gunmen.

The Magen David Adom ambulance service said the victim suffered a gunshot wound to the upper body. He was taken to the Hadassah Hospital in the nearby Mount Scopus neighborhood for treatment.

“We came upon a man who was semiconscious, with a deep wound to his upper body,” MDA paramedic Muhammad Abed al-Rahman said. “We administered life-saving treatment to him and quickly took him away while keeping him sedated and on respiration. He is in serious condition.”

Palestinian sources identified the attackers as Abd al-Malik Saleh abu Kharoub, 19, and Muhammad Jamal al-Kalouti, 21, both from Kafr Aqab in East Jerusalem.

The attacks came the day after a particularly bloody day of violence in Israel.

An American tourist, Taylor Force from Lubbock, Texas, was killed and 12 people were injured in three terror attacks Tuesday, according to the Magen David Adom ambulance service.

In all, twenty-nine Israelis and four foreign nationals have been killed in a wave of Palestinian terrorism and violence since October. Some 180 Palestinians have also been killed, around two-thirds of them while attacking Israelis, and the rest during clashes with troops, according to the Israeli army.

Dov Lieber contributed to this report.