sentence: the earliest evidence of islamised populations in indonesia dates to the 13th century in northern sumatra ; other indonesian areas gradually adopted islam which became the dominant religion in java and sumatra by the end of the 16th century .