While the group was providing material support to Hamas.