The High Court in Kota Kinabalu today sentenced Detective Corporal Hassan Ali Basari, 61, to seven years imprisonment, the maximum jail sentence under Section 130M of the Penal Code, for withholding information on terrorism activities in Sabah.