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
No one gave him a chance - but Donald Trump has just pulled off one of the greatest feats in modern American political history.
German police are investigating an online picture thought to be of two British men doing a Nazi salute at a former concentration camp.
Late sunshine here and there this evening - but more cloud for southern Scotland, northern England and Northern Ireland again.