An Israeli actor who played a gay Palestinian boy in Israeli films for a decade was arrested last month and accused of involvement in a terrorist organization, according to a statement released by the Ministry of Interior on Wednesday.

The actor, who was not identified by name, was detained on charges of belonging to a terrorist group and committing espionage, the statement said.

The ministry’s statement said the actor was charged in a case against him in the Tel Aviv District Court in December last year.

It said he is now being held in custody in the Gush Etzion prison.

The statement did not identify the group that is alleged to have recruited him.

The Ministry of Justice did not immediately respond to a request for comment on the case.

Israeli police have been investigating the arrest of Gary Lewis for several years.

His films include “The Boy” and “The Girl Who Leapt Through Time,” in which he plays a gay boy and a Muslim woman.

Last year, a court in the city of Tiberias convicted him of a hate crime after he filmed himself punching an Israeli flag at a protest against Israel’s military operations in Gaza.

Lewis had previously been arrested for making films in the West Bank in which the title character was a boy.

In the film “The Big Lie,” he plays an Israeli police officer who is framed by a Palestinian teen for a murder he did not commit.