A court in China sentenced eight people to death Monday for two deadly attacks in the violence-torn far-western Xinjiang region, state media said.