Two “terrorists” accused of murdering a 19-year-old off-duty soldier in the West Bank last week have been arrested, the Israeli military announced on Saturday.

The Israel Defense Forces tweeted, “We have found the terror squad that murdered IDF soldier Cpl. Dvir Sorek.”

Sorek was found dead with stab wounds Thursday outside a settlement in the Gush Etzion region, which is near the West Bank city of Hebron, the military said.

His body turned up on the side of a road near a pre-military Jewish seminary where he'd been a student; he was neither armed nor in uniform.

NETANYAHU SLAMS 'VICIOUS TERRORISTS' OVER MURDER OF SOLDIER, 19; HAMAS PRAISES 'HEROIC OPERATION'

“In an operation—together with Israeli security forces—we located and arrested the 2 terrorists suspected to have committed the attack,” the IDF wrote in the tweet on Saturday, which included a photo of an arrest and another picture of the operation in progress.

“We will continue in our fight against terror,” the tweet went on to say.

The suspects reportedly were linked to a Palestinian terror cell. At least two in that group were brothers from Hebron, Israel’s Channel 13 TV reported. There was no immediate Palestinian comment.

ISRAEL KILLS 4 PALESTINIAN MILITANTS CARRYING RPG LAUNCHERS AND ASSAULT RIFLES, HAMAS DENIES INVOLVEMENT

The army said in a statement that the car the militants used in the attack was seized.

Israel’s Prime Minister Benjamin Netanyahu denounced the killing as a terror attack last week.

In another tweet posted on Saturday, Netanyahu wrote that he commended the Israel Security Agency (Shin Bet) and security forces who captured the suspects within 48 hours.

“In the last few years our forces put their hands on all the Palestinian murderers that attacked Israelis and today they did it again,” he wrote in the tweet. “We will continue to fight terrorism intensely on all fronts.”

The Islamic militant group Hamas, which controls the Gaza Strip, accused the Palestinian Authority, its rival in the West Bank, of cooperating with Israel to identify the militants behind the murder.

Hamas celebrated the murder last week writing in a statement, “We salute the hero fighters, sons of our people, who carried out the heroic operation which killed a soldier of the occupation army.”

CLICK HERE TO GET THE FOX NEWS APP

The death of the young soldier came just over a month before Israel’s parliamentary elections, with Netanyahu’s right-wing allies calling for further West Bank settlement construction and a tough response.

Fox News' Lukas Mikelionis and The Associated Press contributed to this report.