Protesters have told all undocumented foreigners to leave South Africa by Tuesday, ahead of anti-immigrant rallies that many fear will turn violent.
Thousands of foreign Africans are heading home or huddling together in camps for fear of being attacked - though the group organising the protests, March and March, says it is peaceful.