PHNOM PENH - Cambodian opposition figure Kem Sokha was sentenced to 27 years in prison Friday for treason in a case criticized by the United States as a miscarriage of justice.