A Chinese court on Thursday sentenced Ma Jian, the former vice minister of state security, to life in prison.