 Section 13 also makes it an offence for a person to live wholly or in part on the earnings of another from male prostitution or to solicit or importune any male person for the purpose of procuring the commission of a homosexual act.The maximum penalty for these offences on indictment is 2 years imprisonment, and on summary conviction 12 months imprisonment.This section was largely repealed by the Sexual Offences (Scotland) Act 2009 on 1 December 2010, leaving only the definition of homosexual act, the offences of living off the earnings of male prostitution and soliciting/importuning any male person for the purpose of procuring the commission of a homosexual act, and the provision treating premises as a brothel for the purposes of sections 11 and 12 (described above).