 Sufism and other versions of Folk Islam were most easily integrated into the existing folk religion of Java.The learned versions of Sufi Islam and Shari`a-oriented Islam were integrated at the courts, blending with the rituals and myths of the existing Hindu-Buddhist culture.Clifford Geertz described this as abangan and priyayi; "the lower class and elite varieties of Javanese syncretism".