A Palestinian who may be linked to ISIS rammed his speeding truck into a group of Israeli soldiers in Jerusalem Sunday, killing four people and wounding 15 others before being shot dead in one of the deadliest attacks in a year-long campaign of violence, Israeli police said.

Five people were arrested Sunday -- including the assailant's father and brother -- in connection with the attack.

"This is part of the same ongoing battle against the global scourge of terrorism," Prime Minister Benjamin Netanyahu said in a statement. "We can only fight it together, but we'll fight it."

Netanyahu said the truck's driver had been identified and appeared to be "a supporter of the Islamic State." Speaking at the scene of the slaughter, Netanyahu added there "definitely could be a connection" between Sunday's horrific attack and similar ISIS truck attacks that took place in France and Germany in recent months.

Images on social media showed some Palestinians handing out sweets to children in celebration of the attack.

"Today we saw evil and cruelty incarnate," Israeli Ambassador to the United Nations Danny Danon said in a statement. "This murderous attack is a direct result of murderous Palestinian incitement. I call on the Secretary General and the Security Council to condemn this terror attack immediately."

Security camera footage broadcast on Israeli Channel 2 TV showed the truck barreling at a high speed off the road and into the crowd of people in the Armon Hanatziv neighborhood.

The fatalities included three women and a man in their 20s, The Jerusalem Post reported.

The faces of the young #Israel(i) soldiers killed In #Jerusalem attack today pic.twitter.com/PQLlHqoHlL — Anna Ahronheim (@AAhronheim) January 8, 2017

The truck’s windshield was riddled with bullets, as police and first-responders responded to the scene, the paper reported.

Several victims had to be extricated from underneath the truck, according to the paper.

Video captured the truck backing up quickly, apparently trying to crush more people, before the driver was shot dead, the Associated Press reported.

"There was no sense in that reverse," Leah Schreiber, a witness, told reporters. "He drove backward to crush more people. That was really clear."

Israel's police chief Roni Alsheich told reporters the attacker was from an Arab neighborhood in east Jerusalem and forces had no advance warning. He refused to elaborate, and a gag order was placed on further details pending an investigation.

#Jerusalem truck attack: 51st vehicular terror attack in #Israel since Sept 2015; 345 total terror attacks have killed 46 and injured 648. https://t.co/V2l0EPFbgT — Fox News Research (@FoxNewsResearch) January 8, 2017

Israel's rescue service MDA said the dead included three women and a man, all in their 20s. Of the 15 wounded, one was in serious condition.

The attack matched the deadliest in a more than yearlong wave of Palestinian shooting, stabbing and vehicular attacks against Israelis that had slowed of late. Last June, a pair of gunmen killed four people at a popular Tel Aviv tourist site.

Since September 2015, Palestinian attackers have killed 40 Israelis and two visiting Americans.

Israel says most of the Palestinians killed were attackers while the rest died in clashes. The Palestinians and rights groups have accused Israel of using excessive force in some confrontations. Sunday's incident marks the first Israeli deaths in three months.

Israel says the violence is driven by a Palestinian campaign of incitement, while Palestinians say it's the result of nearly 50 years of Israeli occupation and dwindling hopes for an independent state.

The Palestinian Hamas movement, an Islamic militant group that rules Gaza and has killed hundreds of Israelis in attacks over the years, praised the assault but stopped short of taking responsibility.

Hamas spokesman Abdul-Latif Qanou called it a "heroic" act and encouraged other Palestinians to do the same and "escalate the resistance."

He said the attack proves the wave of Palestinian violence has not ended, despite a recent lull. "It may be quiet, it may linger, but it will never end," he said.

Jerusalem Mayor Nir Barkat called on residents to be wary but carry on with their everyday life.

"Unfortunately, there is no limit to the cruelty of terrorists who spare no means in killing Jews and disrupting their way of life," he said. "Those who incite and support terror must pay a heavy price."

FoxNews.com's Yonat Friling and The Associated Press contributed to this report.