Later,in 1892, the Ministry of Justice was established and brought about the centralization of all Courts of Justice. Meanwhile,the first law code was promulgated in 1908 on criminal law. The foundering father of modern Thai law was Prince Rabi of Ratchaburi who played a leading role in introducing a modern system of judicial administration. The drafting of the Civil and Commercial Code was started in the reign of King Rama V and was completed during the reign of King Rama VII. The Revolution of 1932 had an important effect on the Thai legal and judiciary system since it changed the form of government from an absolute monarchy to a constitutional monarchy. The Constitution vested the judiciary power with the Courts. Judges perform their duties in the name of the King and are assured of independence in adjudicating cases according to the law.The Constitution is the supreme law of the land that establishes the powers, functions and duties as well as the structure of the Executive,the Legislative and the Judiciary. The Constitution of the Kingdom of Thailand,B.E. 2540 [1997] has had a substantial impact on the reorganization of the political system as well as the judicial system in Thailand. The types of courts recognized under the 1997 Constitution and also the present 2007 Consititution are the Constitutional Court, the Courts of Justice, the Administrative Courts and the Military Court. The Constitutional Court and the Administrative Court were established as a result of the provisions of such constitution. Although this change decreases the scope of the jurisdiction of the Courts of Justice, most cases fall under the jurisdiction of the Courts of Justice.