Singapore joined the Federation of Malaysia on 16 September 1963, ceasing to be a colony of the British Empire. Legal provisions were made through the enactment of the Malaysian Act 1963 (United Kingdom), the Sabah, Sarawak and Singapore (State Constitutions) Order of the Council, 1963, and the Malaysia (Malaysia) Act 1963.  The Council Order 1963 provided that all laws in force in Singapore would continue to apply, subject to such amendments, adjustments, limitations and exceptions as might be necessary to bring them into conformity with its new Constitution and the Malaysia Act.  As Singapore is now a state within a larger federation, the Singapore Legislative Assembly has been transformed into the Singapore Legislature, which has the power to legislate only on certain matters set out in the Malaysian Federal Constitution. Article 75 of the Federal Constitution also provides: “If a law of the Land is incompatible with a federal law, the federal law shall prevail and the law of the Land shall be void in the event of inconsistency.” Some laws, such as the Internal Security Act (Cap. 143) (which allows detention without trial in certain circumstances) and the Companies Act (Cap. 311) (which governs the formation of associations) enacted during British rule in Singapore, remain in the Codebook, and the corporal and death penalty are still in force. There are disagreements over the status of court rulings during the Japanese occupation. Some courts after the occupation considered the decisions of Japanese courts applying the law to be valid. Others held that since the Japanese administration had not established courts in accordance with the requirements of the Straits Regulations Act, while the Law continued to apply, there were no appropriate courts to enforce it.  As Singapore is a common law court, court decisions are considered a source of law. Judgments may interpret laws or subsidiary statutes, or develop principles of common law and fairness established not by legislators but by previous generations of judges.
Much of Singapore`s law, particularly contract law, stock and trust law, property law and tort law, is largely regulated by the courts, although some aspects have now been partially amended by law. Since 1992, judgments of the High Court, the Court of Appeal and the Constitutional Court of Singapore have appeared in the Singapore Law Reports (SLR), published by the Singapore Law Academy under exclusive license from the Supreme Court of Singapore. The Academy has also republished cases decided since Singapore`s full independence in 1965 in special volumes of the SLR and is currently working on a new edition of this jurisprudence. Cases published in the SLR, as well as decisions not reported by the Supreme Court and lower courts, are available online through a paid service called LawNet, which is also managed by the Academy. Outside of Singapore, Malaysia and Brunei, they are available online through another paid service called Justis. Unlike the strange laws of other countries, some laws are enforced with extremely harsh and often bizarre penalties. Singapore is also different from the United States, where sanctions are set by a judge: the violation of certain laws in Singapore may be accompanied by binding decisions that always involve blows with sticks. Singapore maintains both corporal punishment (in the form of caning) and the death penalty (by hanging) as punishment for serious crimes. For certain offences, in particular drug trafficking above a certain amount, the imposition of these penalties is mandatory. Some of them affect extremely common human habits, like chewing gum and being naked in their own home! To make sure you don`t end up in hot water, here are some of the most important laws in Singapore that you should know before you go, and a guide on what not to do in Singapore. Singapore`s criminal law is largely legal in nature and dates back to the Comprehensive Penal Code. The purpose of the Penal Code is to explain what each of the offences listed in its 24 chapters consists of and the minimum and maximum penalty imposed therein.
The Penal Code was originally based on Indian law. It has been amended and replaced by the Code of Criminal Procedure, which is based on the Criminal Procedure Act in England. All violations of the Penal Code or other laws are investigated and brought to justice under the Code of Criminal Procedure. Criminal proceedings in Singapore are heard before the High Court and the Court of Appeal. Last year, attempts were made to change Singaporean laws that prohibit two members of the same sex from having sex, but unfortunately, the regulations remain in place. The sentence for same-sex relations in Singapore is a two-year prison sentence. The Charter conferred legislative authority on the Governor and Council of Prince of Wales Island or any other person or institution.  The general power to legislate rested with the Supreme Government of India and the British Parliament.  The East India Company Act 1813 (also known as the Charter Act 1813) gave Prince of Wales Island itself very limited power to legislate on the duties and taxes it was entitled to levy; Under this authority, it issued nine regulations that applied to straits establishments.  However, on June 20, 1830, the East India Company reduced the status of Prince of Wales Island from a presidency to a residence.
 The island thus lost the power to legislate for the strait settlements, which was passed by the Governor-General of Bengal. .