An Arab lawmaker accused of exploiting his position to smuggle cellphones and notes to convicted Palestinian terrorists signed a plea deal Thursday with prosecutors in which he will resign from the Knesset and serve two years in jail.

According to the deal, MK Basel Ghattas, of the Joint (Arab) List’s Balad faction, will admit in court early next week to charges including smuggling phones into prison, smuggling documents and breach of trust.

Lawyers for both sides will request a jail term of two years and the prosecution will ask that Ghattas be fined.

Get The Times of Israel's Daily Edition by email and never miss our top stories Free Sign Up

The court will be left to decide on the length of an additional, suspended sentence, according to a statement from the Attorney General’s office.

Prosecutors will also ask for the offences to be branded moral turpitude which, under Israeli law, triggers a ban from public office for seven years.

In a statement, Ghattas said everything he did was driven by personal reasons of conscience and humanitarian feelings toward the prisoners and that he accepted full responsibility for his actions.

He added that the deal provided for a different indictment to the one presented to the Knesset and would not include clauses relating to harming state security or Israeli citizens, or to terror.

Ghattas has been under a criminal investigation after he was caught on prison surveillance video passing envelopes to Palestinian security prisoners in January.

Police said that the MK exploited his position as a member of Knesset — who cannot be subjected to a body search — during a visit to Ketziot Prison in southern Israel last year, where he met with Walid Daka, a Palestinian prisoner serving a 37-year sentence for the 1984 abduction and murder of 19-year-old IDF soldier Moshe Tamam. The MK also met with Basel Ben Sulieman Bezre, who is serving a 15-year sentence on a terror conviction.

Ghattas consistently denied the allegations against him, but had to contend with video footage that appeared to show him smuggling the cellphones into the prison.

He was released to house arrest in January, five days after he was arrested. Although no longer under house arrest, he has been barred from all parliamentary activities except for plenum votes.

Once Ghattas resigns, the next candidate from the Joint List will take his place. According to the Central Elections Committee, that would be Juma Azbarga, a resident of the Bedouin town of Lakiya, near Beersheba in Israel’s south.