The Terrorism Act No 83 of 1967 was a law of the South African Apartheid regime that was put in place to respond to violent resistant from people, groups and officials that the apartheid regime opposed. From Wikipedia
The individuals were convicted under the Terrorism Act for actions perceived as supporting Hamas, despite claims of symbolizing peace.