By the early nineteenth century, Islam had come to be the religious element in Javanese identity. But it was a particular kind of Islam, here called the 'mystic synthesis'. This Javanese mysticism had three notable characteristics: Javanese held firmly to their identity as Muslims, they carried out the basic ritual obligations of the faith, but they also accepted the reality of local spiritual forces. In the course of the nineteenth century, colonial rule, population pressure and Islamic reform all acted to undermine this 'mystic synthesis'. Pious Muslims became divided amongst adherents of that synthesis, reformers who demanded a more orthoprax way of life, reforming Sufis and those who believed in messianic ideas. A new category of Javanese emerged, people who resisted Islamic reform and began to attenuate their Islamic identity. This group became known as abangan, nominal Muslims, and they constituted a majority of the population. For the first time, a minority of Javanese converted to Christianity. The priyayi elite, Java's aristocracy, meanwhile embraced the forms of modernity represented by their European rulers and the wider advances of modern scientific learning. Some even came to regard the original conversion of the Javanese to Islam as a civilisational mistake, and within this element explicitly anti-Islamic sentiments began to appear. In the early twentieth century these categories became politicised in the context of Indonesia's nascent anti-colonial movements. Thus were born contending political identities that lay behind much of the conflict and bloodshed of twentieth-century Indonesia.