Diaspora Affairs Minister Yuli Edelstein visited a man accused of spying on the IDF and planning an assault on a West Bank army base in December, at the man’s home on Tuesday, Channel 10 reported Wednesday night.

Elaad Meir, a teacher from the settlement of Harsha, is one of five arrested for allegedly tracking IDF troops, and plotting an attack on an army base in December when settlers assaulted soldiers and vandalized army property.

Edelstein (Likud), visited Meir at his home in a settlement west of Ramallah and offered him words of encouragement.

“I innocently believed that [you’re] being detained because they claim the investigation is very complex, but it’s all over already,” he said to Meir.

Israel Police and the Shin Bet arrested Meir at the end of December and placed him under house arrest since. The five accused are expected to stand trial next month.