The bureaucratization of Islam runs deep in Malaysian society and traces its history way back to the Pangkor Treaty of 1874,after which a Majlis Agama Islam dan Adat Istiadat Melayu (council of Islamic Religion and Malay Customs), was established in the various Malay states to oversee Islamic and Malay affairs, supposedly under the jurisdiction of the sultans.