A Hamas official in the West Bank says Israeli forces have arrested dozens of Hamas activists, including lawmakers, in overnight raids.

The arrests come in the wake of a pair of deadly shootings this week believed to have been carried out by Hamas activists.

The Hamas official said on Friday that some 70 members have been arrested this week, including about 40 overnight. The official spoke on condition of anonymity fearing arrest by Israel.

Palestinian protestor takes cover during clashes with Israeli troo[s near Ramallah, West Bank, Thursday, Dec. 13, 2018. (AP PhotoMahmoud Illean)

Palestinian protestor takes cover during clashes with Israeli troo[s near Ramallah, West Bank, Thursday, Dec. 13, 2018. (AP PhotoMahmoud Illean)

The Israeli military on Friday confirmed the overnight arrests.

A Palestinian gunman on Thursday opened fire at a West Bank bus stop, killing two Israeli soldiers. Earlier this week, another gunman opened fire at another bus stop, wounding seven and causing the premature delivery of a baby that later died.

Palestinian protestor throws back a teargas canister during clashes with Israeli troo[s near Ramallah, West Bank, Thursday, Dec. 13, 2018. (AP PhotoMahmoud Illean)

Palestinian protestor throws back a teargas canister during clashes with Israeli troo[s near Ramallah, West Bank, Thursday, Dec. 13, 2018. (AP PhotoMahmoud Illean)

Israeli soldiers deeply near the scene of an attack near the settlement of Givat Assaf in the West Bank, Thursday, Dec. 13, 2018. A Palestinian gunman opened fire at a bus stop outside a West Bank settlement on Thursday, shooting at soldiers and civilians and killing at least two Israelis before fleeing, the military and Israel's rescue service said. (AP PhotoNasser Shiyoukhi)

Israeli soldiers deeply near the scene of an attack near the settlement of Givat Assaf in the West Bank, Thursday, Dec. 13, 2018. A Palestinian gunman opened fire at a bus stop outside a West Bank settlement on Thursday, shooting at soldiers and civilians and killing at least two Israelis before fleeing, the military and Israel's rescue service said. (AP PhotoNasser Shiyoukhi)