Audio By Carbonatix
South African soldiers and police have conducted a series of raids in an effort to curb attacks on foreign nationals and the looting of shops.
Men's hostels in Johannesburg housing mainly South Africans were searched for weapons and 11 arrests were made.
The army was ordered to deploy to volatile areas to stop further attacks that began about three weeks ago.
At least seven people have been killed and 5,000 have been left homeless since the xenophobic violence began.
The army was also deployed during similar violence in 2008, when at least 63 people were killed.
The first deployments were to Alexandra, a poor township north of Johannesburg, where Mozambican Emmanuel Sithole was killed at the weekend.
Floor by floor searches
The hostels are communal areas still owned by the government that used to house mine labourers during the days of white-minority rule.
The BBC's Nomsa Maseko, who witnessed one raid in Johannesburg's Jeppestown, says they are often the target of raids when the police are looking for firearms during a crackdown on crime.
No weapons were found during the raids overnight, and it is believed there may have been a tip-off, she says.
Police say 11 arrests were made for possession of marijuana and suspected stolen items.
A helicopter hovered above one hostel in Jeppestown, as inside police moved from floor to floor conducting searches where the residents were made to lie face down in the corridors, the AFP news agency reports.
On the streets of the neighbourhood, soldiers stood in groups of about six, positioned within a few metres of each other, it says.
Troops have also been despatched to KwaZulu-Natal province, where the unrest began following remarks by Zulu King Goodwill Zwelithini.
The powerful monarch has denied fuelling the xenophobic attacks, saying at a rally on Monday: "If it were true that I said foreigners must go, this country would be up in flames."
More than 900 people have been voluntarily repatriated to their home countries since the violence broke out, officials say.
Defence Minister Nosiviwe Mapisa-Nqakula said the troops were being sent in "as the last resort. The army will serve as a deterrent".
With the unemployment rate at around 25%, many South Africans accuse foreign nationals of taking jobs from locals.
Official data suggests there are about two million foreign nationals in South Africa, but some estimates put the number much higher.
Latest Stories
-
England players to make own call on Partey handshake ahead of Ghana showdown
2 hours -
Report says UK PM Starmer ready to quit, but source says he is still focused on the job
3 hours -
Bright Simons writes on the 320kg meth seizure linked to Ghana
3 hours -
Fastest World Cup to 100 goals in 68 years – are balls and breaks behind it?
3 hours -
Gakpo and Brobbey at the double as Dutch sink Swedes
4 hours -
Colombia’s escalating, brutal internal conflict is defining its presidential election
5 hours -
Israeli strikes kill six people in Gaza including Al Jazeera cameraman, officials say
5 hours -
King Charles to reveal personal tax bill for first time as monarch
6 hours -
Substitute Undav scores twice as Germany reach last 32 with comeback win
7 hours -
How does qualification for the World Cup knockout stage work?
7 hours -
At least 15 migrant bodies wash ashore in eastern Libya, sources say
7 hours -
‘Electoral Commission appointments must come from parliament’ – Kofi Bentil
8 hours -
iLotBet launches exciting iPhone 17 giveaway for World Cup season
9 hours -
Man found dead after alleged attempted attack on church in Sefwi Asafo
9 hours -
SIC Insurance launches electric vehicles to advance green transition agenda
10 hours