An Israeli court has convicted a Palestinian aid worker who was detained for six years for allegedly transferring tens of millions of dollars in aid funds to the Islamic Resistance Movement (Hamas).

The judges noted that the Beersheba District Court found Muhammad al-Halabi guilty of supporting a terrorist organization but acquitted him of treason. They scheduled a sentencing hearing for July.

Al-Halabi, director of the Gaza branch of the international Christian NGO World Vision, was arrested in June 2016. Israel accused him of diverting up to $50 million to pay Hamas militants, buy weapons and finance the movement’s activities.

Al-Halabi has consistently denied the charges against him and turned down several offers of pleas.

World Vision, an organization dedicated to helping children, said an independent review found no evidence of wrongdoing or loss of money.

She added that in the ten-year period that al-Halabi took office, the organization budgeted about $22.5 million for its operations in Gaza, making it “difficult to settle” the amount al-Halabi is said to Chalabi approx.

International human rights organizations have criticized the lengthy detention and trial of Chalabi. Human Rights Watch stated that his conviction “aggravates further miscarriage of justice. Detaining al-Halabi for six years on the basis of classified evidence is a violation of the rules of due process and the simplest rulings of a fair trial.”

Prior to the decision, James Heenan, director of the UN Human Rights Office in Palestine, expressed concern about whether Al-Halabi’s trial met international fair trial standards.

He added that the extensive use of classified evidence, reliance on undisclosed procedures and credible allegations of ill-treatment in detention “paint a picture of enormous pressure on Mr. Al-Halabi to confess in the absence of evidence.”

“This is a serious mistake and injustice,” his father Khalil al-Halabi told Reuters. “My son is innocent.”