China has sentenced an official identified as Ma to death for allegedly leaking 35 state secrets to a foreign intelligence agency in exchange for more than one million yuan.