by a person of eighteen years of age or more in respect of any person under eighteen years of age, a pupil of a primary school or a student of secondary school the offender shall be liable on conviction to imprisonment for a term not less than ten years, with corporal punishment, and shall also be ordered to pay compensation of all amount determined by the court to the person in respect of whom the offence was committed for any injuries caused to that person. According to Part I(3) of the Sexual Offences Special Provisions Act, 1998, "gross indecency" in Section 138A "means any sexual act that is more than ordinary but falls short of actual intercourse and may include masturbation and indecent physical contact or indecent behaviour without any physical contact". Section 154. Unnatural offenses. (1) Any person who - (a) has carnal knowledge of any person against the order of nature; or . . . (c) permits a male person to have carnal knowledge of him or her against the order of nature, commits an offence, and is liable to imprisonment for life and in any case to imprisonment for a term of not less than thirty years. (2) Where the offence under subsection (1) of this section is committed to a child under the age of ten years the offender shall be sentenced to life imprisonment. Section 155. Attempt to commit unnatural offences. Any person who attempts to commit any of the offences specified under section 154 commits an offence and shall on conviction be sentenced to imprisonment for a term not less than twenty years. Section 157. Indecent practices between males. Any male person who, in public or private - (a) commits any act of gross indecency with another male, or (b) procures another male person to commit any act of gross indecency with him, or (c) attempts to procure a male to commit an indecent act to him, is guilty of an offence and may be sentenced to five years of imprisonment. Zanzibar The Zanzibar Penal Code of 1934, as amended in 2004, provides as follows: Section 132. (1) Any person who carnally knows any boy is guilty of an offence and shall on conviction be liable to imprisonment for life. (2) Any person who attempts to have carnal knowledge of any boy is guilty of an offence and shall on conviction be liable to