Soldiers are to spend another month on the streets of South Africa, after the widespread unrest and looting that followed ex-President Jacob Zuma's jailing in July.
In response to the violence 25,000 troops were deployed - the biggest number since the end of white-minority rule in 1994.
Their numbers will now be scaled down, President Cyril Ramaphosa has announced, with 10,000 troops remaining on the streets until mid-September.
This month-long extension will cost $17m (£12.4m), the president wrote in a letter to the head of the national council of provinces, Amos Masondo.
Mr Ramaphosa said the South African National Defence Force will work with police across the country "in the prevention and combating of crime and preservation of law and order".