During the Japanese occupation of Singapore (1942–1945), all the courts that had operated under the British were replaced by new courts established by the Japanese Military Administration. The Syonan Koto-Hoin (Supreme Court) was formed on 29 May 1942; there was also a Court of Appeal, but it was never convened. Following the end of World War II, the courts that had existed before the war were restored and remained largely unchanged until Singapore's independence from the United Kingdom through merger with Malaysia in 1963. The judicial power of Malaysia was vested in a Federal Court, a High Court in Malaya, a High Court in Borneo (now the High Court in Sabah and Sarawak), and a High Court in Singapore. In 1965 Singapore left the Federation of Malaysia and became an independent republic. However, the High Court remained part of the Federal Court structure until 1969, when Singapore enacted the Supreme Court of Judicature Act to regularise the judicial system. Coming into force on 9 January 1970, the Act declared that the Supreme Court of Singapore now consisted of the Court of Appeal, the Court of Criminal Appeal and the High Court. The Judicial Committee of the Privy Council remained Singapore's highest appellate court until a permanent Court of Appeal for both civil and criminal appeals was established. Appeals to the Privy Council were completely abolished in 1994.