The High Court today sentenced Mohd Yahya Mat Sahri, former special officer to Selangor Menteri Besar Abdul Khalid Ibrahim, to two years in prison and two strokes of the whip for cheating the president of Kumpulan Darul Ehsan Bhd, Abdul Karim Munisar, five years ago.