A police crackdown in the restive western region of Xinjiang which left 14 people dead was "within the law", a spokesperson for China's Ministry of Foreign Affairs said.
Hua Chunying said assailants "used explosive devices to attack police officers" and attacked them with knives.
He added: "This is a case which lays bare the anti-government and anti-human nature of the terrorists and deserves to be condemned by all those who love peace and stability."
More top news
In the run-up to the Rio Olympic Games, ITV News speaks to four Olympic hopefuls in Team GB. Today we profile gymnast Claudia Fragapane.
The mother-in-law of Formula One billionaire Bernie Ecclestone has been kidnapped in Sau Paulo according to Brazilian media reports.
Four "siblings" of Dolly the sheep are in good health, raising hopes that the cloning process does not affect physical well-being.