The law of Malaysia is mainly based on the common law legal system. This was a direct result of the colonisation of Malaya, Sarawak, and North Borneo by Britain between the early 19th century to the 1960s. The supreme law of the land—the Constitution of Malaysia—sets out the legal framework and rights of Malaysian citizens. Federal laws enacted by the Parliament of Malaysia apply throughout the country. There are also state laws enacted by the State Legislative Assemblies which applies in the particular state. The constitution of Malaysia also provides for a unique dual justice system—the secular laws (criminal and civil) and sharia laws. Malaysian legal history Adat (customary practices and tradition) provided Malay law before colonization. Prior to the independence in 1957, most of the laws of United Kingdom were imported and either made into local legislation or simply applied as case laws. Malaysian law is also based on other jurisdictions namely Australia and India. The criminal law in Malaysia—the Criminal Procedure Code—was based on the Indian criminal code. Similarly, the Contracts Act is based on the Indian model. Malaysian land law is based on the Australian Torrens system. The Federal Constitution is the supreme law of the land. It provides the legal framework for the laws, legislation, courts, and other administrative aspects of the law. It also defines the government and monarch, and their powers, as well as the rights of the citizens. The dual system of law is provided in Article 121(1A) of the Constitution of Malaysia. Article 3 also provides that Islamic law is a state law matter with the exception for the Federal Territories of Malaysia. Islamic law refers to sharia law, and in Malaysia it is known and spelled as syariah. The court is known as the Syariah Court. Looking at the Malaysian legal system as a whole, sharia law plays a relatively small role in defining the laws on the country. It only applies to Muslims. With regards to civil law, the Syariah courts has jurisdiction in personal law matters, for example marriage, inheritance, and apostasy.