am was brought into Indonesia by Sufi traders from Gujarat, India during the 13th century e.g. Shaikh Randeri (Raneri).[1] [2] By the end of the 16th century, Islam had surpassed Hinduism and Buddhism as the dominant religion of the peoples of Java and Sumatra. Bali retained a Hindu-practising majority, while the eastern islands remained largely animist until the 17th and 18th centuries when Christianity became predominant in those areas.