The severity of the sentence given to Mr. Liu , who was convicted of taking $ 173,000 in bribes and embezzling $ 2.7 million on his own and with others , highlights the stringency of China 's penal code and the efforts of Beijing 's leaders to contain corruption .