A Palestinian man who allegedly provided Israeli authorities with secret information was sentenced to death Thursday by a Hamas Military Court in Gaza.

The man, whose identity remains unknown, will be publicly hanged, news site NRG reported.

In March, Hamas launched a public amnesty campaign for suspected collaborators with Israel, calling on those who worked with the Jewish state to turn themselves in. The terror group warned that it would then “pursue and execute” suspected spies who did not come forward.

During Operation Pillar of Defense in November 2012, Hamas publicly executed six men it accused of being “collaborators with the occupation” and dragged their bodies through the streets.

Gaza’s Hamas rulers have executed at least 18 men since seizing power in 2007, the Associated Press reported.