 Some Javanese texts relate stories about Syekh Siti Jenar (also known as Syekh Lemah Abang) who had conflicts with Wali Sanga, the nine Islamic scholars in Java, and the Sultanate of Demak.With the Islamisation of Java there emerged a loosely structured society of religious leadership, revolving around kyais, Islamic experts possessing various degrees of proficiency in pre-Islamic and Islamic lore, belief and practice.The Kyais are the principal intermediaries between the villages masses and the realm of the supernatural.