The army is being deployed on the streets of South Africa as the police struggle to deal with a wave of violence against immigrants.
We will report to parliament after the fact because now we are deploying because there is an emergency to do so
Seven people have been killed in the past three weeks in Durban and Johannesburg, with the government criticised for not doing enough to protect foreigners.
The South African Defence Minister, Nosiviwe Mapisa-Nqakula, told reporters: “It is the police who must say we think at this point we do need your help.
“And once they say they need your help, then of course the commander-in-chief takes the ultimate decision, reports to parliament.
“But, of course, we will report to parliament after the fact because now we are deploying because there is an emergency to do so.”
On Tuesday four men were charged with the murder and robbery of a street vendor from Mozambique.
Images of the man being beaten and stabbed to death in broad daylight have shocked the country.
Outside the court, people gathered to condemn the xenophobic attacks, and similar demonstrations have been held in countries that neighbour South Africa.