The government released 21 political prisoners Wednesday as part of a pledge to free all activists convicted of anti-apartheid acts.

Eighteen men were released in Cape Town and three were freed from prisons in Johannesburg and Pretoria, the Prisons Service said.Most of those released belong to the African National Congress, the largest black opposition movement. They had two to five years remaining on sentences that included convictions for terrorism, sabotage and treason.