The Shin Bet thwarted a plan to kidnap an Israeli soldier by a Nablus-based terror cell headed by a Palestinian imprisoned in Israel, the security agency announced Sunday.

Indictments against the Palestinian prisoner and five of his family members were filed with the Samaria military court. According to the charge sheet, Abdel Rahman Othman, a Fatah member, and his family members plotted to kidnap an IDF soldier, hide him in a secret location, and bargain for the release of Palestinian prisoners.

According to Haaretz, Othman, Assam a-Din and Abed al-Haq — another prisoner — began planning the attack in 2012 and worked to raise the funds to carry it out. The plot was planned to be carried out in April, but it was not clear from media reports when the men were rounded up.

Othman and his comrades hatched the plot through cell phones and secret missives smuggled into prison by family members.

A Shin Bet investigation found that Othman and his kin were involved in other terror attacks, including a shooting eight years ago that killed an Israeli citizen, Israel Radio reported. Othman was handed a life sentence in 2006 for shooting and killing an Israeli.

The report from the Shin Bet came a week after the killer of 20-year-old Bat Yam native Sgt. Tomer Hazan was convicted of murder and kidnapping in a military court, as was the murderer’s brother, himself a jailed terrorist.

Tomer Hazan (photo credit: Facebook)

Tomer Hazan (photo credit: Facebook)

Nidal Amar, a 42-year-old Palestinian resident of Beit Amin south of Qalqilya, lured Hazan to his West Bank village on September 21, 2013, where he murdered him. Amar’s brother, Nuraddin, a member of the Fatah Tanzim terror group, serving time in an Israeli jail since 2003 for his role in several terror attacks, was also convicted of persuading Nidal to kidnap the soldier in the hope of trading Hazan’s body for his release.