Parliament of Singapore was allocated 15 out of 127 seats. Under its new State Constitution, Singapore kept its own executive government and legislative assembly. However, with effect from 9 August 1965, Singapore left Malaysia and became a fully independent republic. On separation from Malaysia, the Singapore Government retained its legislative powers, and the Parliament of Malaysia gave up all power to make laws for Singapore. Similarly, the Republic of Singapore Independence Act 1965, passed on 22 December 1965 and made retrospective to 9 August, declared that the legislative powers of the Yang di-Pertuan Agong (Supreme Head of the Federation) and Parliament of Malaysia
Caning in Malaysia retained as a form of legal penalty after the Federation of Malaya declared independence from Britain in 1957. It is largely a legacy of British colonial rule and has nothing to do with "Islamic justice" even though the majority of the Malaysian population are Muslims. Sections 286–291 of the Criminal Procedure Code lay down the procedures governing caning, which is referred to as "whipping" in the Code in accordance with traditional British legislative terminology. The procedures include the following: Boys aged between 10 and 18 may be sentenced to a maximum of ten strokes with a light rattan cane. The